cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guido Schreuder <g.schreu...@xs4all.nl>
Subject Re: JDK 1.3 build fails
Date Tue, 09 Nov 2004 19:14:10 GMT
Ralph,
You're not alone. I get exactly the same error on both 1.3.1_07-b02 and 
1.3.1_13-b03
This seems to be a bug in the 1.3.x compiler series.
Here somebody presumably ran into the same error compiling JOnAS: 
http://mapage.noos.fr/vixxes/jonas/ant/

Fully naming the Queue-interface resolves the problem at my end. See 
attached patch file.

Guido

BTW is there a bug report already where i can add this patch to? Or can 
somebody commit it from here?


Index: src/java/org/apache/cocoon/components/thread/SynchronousChannel.java
===================================================================
--- 
src/java/org/apache/cocoon/components/thread/SynchronousChannel.java    
(revision 57063)
+++ 
src/java/org/apache/cocoon/components/thread/SynchronousChannel.java    
(working copy)
@@ -45,7 +45,7 @@
  */
 public class SynchronousChannel
     extends EDU.oswego.cs.dl.util.concurrent.SynchronousChannel
-    implements Queue
+    implements org.apache.cocoon.components.thread.Queue
 {
     //~ Methods 
----------------------------------------------------------------
 




Ralph Goers wrote:

>Am I the only one seeing this?  I tried to build on my computer at work
>and I get the same error (see below) there as on my home computer.
>
>For the life of me, I can't quite figure out why it thinks Queue is not an
>interface.
>
>
>Ralph Goers said:
>  
>
>>Carsten Ziegeler said:
>>    
>>
>>>Ok, I changed this - does it now compile for you?
>>>
>>>Carsten
>>>      
>>>
>>Unfortunately, no.  But I'm not getting to the changes you made.
>>
>>compile-core:
>>Compiling 539 source files to
>>/home/rago2483/cocoon/head/BRANCH_2_1_X/build/cocoon-2.1.6-dev/classes
>>/home/rago2483/cocoon/head/BRANCH_2_1_X/src/java/org/apache/cocoon/components/thread/SynchronousChannel.java:48:
>>interface expected here
>>    implements Queue
>>               ^
>>/home/rago2483/cocoon/head/BRANCH_2_1_X/src/java/org/apache/cocoon/components/thread/DefaultThreadPool.java:322:
>>incompatible types
>>found   : org.apache.cocoon.components.thread.SynchronousChannel
>>required: org.apache.cocoon.components.thread.Queue
>>            m_queue = new SynchronousChannel(  );
>>                      ^
>>2 errors
>>
>>BUILD FAILED
>>/home/rago2483/cocoon/head/BRANCH_2_1_X/tools/targets/compile-build.xml:62:
>>Compile failed; see the compiler error output for details.
>>
>>
>>    
>>
>
>
>
>  
>


Mime
View raw message