You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Oliver Deakin <ol...@googlemail.com> on 2006/08/23 11:50:48 UTC

[classlib] Error building on Linux

Hi,

I get a build error on Linux this morning:

    [javac] 
/home/odeakin/svn-checkouts/test/modules/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/jar/JarURLConnection.java:229: 
inconvertible types
    [javac] found   : java.lang.ref.Reference<capture of ? extends 
java.util.jar.JarFile>
    [javac] required: 
org.apache.harmony.luni.internal.net.www.protocol.jar.JarURLConnection.CacheEntry
    [javac]             while ((entry = (CacheEntry) cacheQueue.poll()) 
!= null)
    [javac]                                                         ^

Im not sure, but this may have been caused by the application of the
patch for HARMONY-1254.

Anyone else seeing it?

Regards,
Oliver

-- 
Oliver Deakin
IBM United Kingdom Limited


---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Re: [classlib] Error building on Linux

Posted by Oliver Deakin <ol...@googlemail.com>.
It build ok for me now - thanks Paulex.


Paulex Yang wrote:
> Revert the generic lift at revision r434005, please verify. Sorry for 
> that.
>
> Stepan Mishura wrote:
>> Created: (HARMONY-1266) JarURLConnection does not compile:
>> http://issues.apache.org/jira/browse/HARMONY-1266
>>
>> -Stepan.
>>
>> On 8/23/06, Paulex Yang wrote:
>>>
>>> It was me, will recover at once. Seems due to the luni-kernel-stubs.jar
>>> and luni-kernel.jar has different generics signatures for some
>>> j.l.reference classes.
>>>
>>> Oliver Deakin wrote:
>>> > Hi,
>>> >
>>> > I get a build error on Linux this morning:
>>> >
>>> >    [javac]
>>> >
>>> /home/odeakin/svn-checkouts/test/modules/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/jar/JarURLConnection.java:229: 
>>>
>>> > inconvertible types
>>> >    [javac] found   : java.lang.ref.Reference<capture of ? extends
>>> > java.util.jar.JarFile>
>>> >    [javac] required:
>>> >
>>> org.apache.harmony.luni.internal.net.www.protocol.jar.JarURLConnection.CacheEntry 
>>>
>>> >
>>> >    [javac]             while ((entry = (CacheEntry) 
>>> cacheQueue.poll())
>>> > != null)
>>> >    [javac]                                                         ^
>>> >
>>> > Im not sure, but this may have been caused by the application of the
>>> > patch for HARMONY-1254.
>>> >
>>> > Anyone else seeing it?
>>> >
>>> > Regards,
>>> > Oliver
>>> >
>>>
>>>
>>> -- 
>>> Paulex Yang
>>> China Software Development Lab
>>> IBM
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> Terms of use : http://incubator.apache.org/harmony/mailing.html
>>> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
>>> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>>>
>>>
>>
>>
>
>

-- 
Oliver Deakin
IBM United Kingdom Limited


---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Re: [classlib] Error building on Linux

Posted by Jean-frederic Clere <jf...@gmail.com>.
Paulex Yang wrote:

> Revert the generic lift at revision r434005, please verify. Sorry for 
> that.

That fixes the problem.

Cheers

Jean-Frederic

>
> Stepan Mishura wrote:
>
>> Created: (HARMONY-1266) JarURLConnection does not compile:
>> http://issues.apache.org/jira/browse/HARMONY-1266
>>
>> -Stepan.
>>
>> On 8/23/06, Paulex Yang wrote:
>>
>>>
>>> It was me, will recover at once. Seems due to the luni-kernel-stubs.jar
>>> and luni-kernel.jar has different generics signatures for some
>>> j.l.reference classes.
>>>
>>> Oliver Deakin wrote:
>>> > Hi,
>>> >
>>> > I get a build error on Linux this morning:
>>> >
>>> >    [javac]
>>> >
>>> /home/odeakin/svn-checkouts/test/modules/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/jar/JarURLConnection.java:229: 
>>>
>>> > inconvertible types
>>> >    [javac] found   : java.lang.ref.Reference<capture of ? extends
>>> > java.util.jar.JarFile>
>>> >    [javac] required:
>>> >
>>> org.apache.harmony.luni.internal.net.www.protocol.jar.JarURLConnection.CacheEntry 
>>>
>>> >
>>> >    [javac]             while ((entry = (CacheEntry) 
>>> cacheQueue.poll())
>>> > != null)
>>> >    [javac]                                                         ^
>>> >
>>> > Im not sure, but this may have been caused by the application of the
>>> > patch for HARMONY-1254.
>>> >
>>> > Anyone else seeing it?
>>> >
>>> > Regards,
>>> > Oliver
>>> >
>>>
>>>
>>> -- 
>>> Paulex Yang
>>> China Software Development Lab
>>> IBM
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> Terms of use : http://incubator.apache.org/harmony/mailing.html
>>> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
>>> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>>>
>>>
>>
>>
>
>


---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Re: [classlib] Error building on Linux

Posted by Paulex Yang <pa...@gmail.com>.
Revert the generic lift at revision r434005, please verify. Sorry for that.

Stepan Mishura wrote:
> Created: (HARMONY-1266) JarURLConnection does not compile:
> http://issues.apache.org/jira/browse/HARMONY-1266
>
> -Stepan.
>
> On 8/23/06, Paulex Yang wrote:
>>
>> It was me, will recover at once. Seems due to the luni-kernel-stubs.jar
>> and luni-kernel.jar has different generics signatures for some
>> j.l.reference classes.
>>
>> Oliver Deakin wrote:
>> > Hi,
>> >
>> > I get a build error on Linux this morning:
>> >
>> >    [javac]
>> >
>> /home/odeakin/svn-checkouts/test/modules/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/jar/JarURLConnection.java:229: 
>>
>> > inconvertible types
>> >    [javac] found   : java.lang.ref.Reference<capture of ? extends
>> > java.util.jar.JarFile>
>> >    [javac] required:
>> >
>> org.apache.harmony.luni.internal.net.www.protocol.jar.JarURLConnection.CacheEntry 
>>
>> >
>> >    [javac]             while ((entry = (CacheEntry) cacheQueue.poll())
>> > != null)
>> >    [javac]                                                         ^
>> >
>> > Im not sure, but this may have been caused by the application of the
>> > patch for HARMONY-1254.
>> >
>> > Anyone else seeing it?
>> >
>> > Regards,
>> > Oliver
>> >
>>
>>
>> -- 
>> Paulex Yang
>> China Software Development Lab
>> IBM
>>
>>
>>
>> ---------------------------------------------------------------------
>> Terms of use : http://incubator.apache.org/harmony/mailing.html
>> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
>> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>>
>>
>
>


-- 
Paulex Yang
China Software Development Lab
IBM



---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Re: [classlib] Error building on Linux

Posted by Stepan Mishura <st...@gmail.com>.
Created: (HARMONY-1266) JarURLConnection does not compile:
http://issues.apache.org/jira/browse/HARMONY-1266

-Stepan.

On 8/23/06, Paulex Yang wrote:
>
> It was me, will recover at once. Seems due to the luni-kernel-stubs.jar
> and luni-kernel.jar has different generics signatures for some
> j.l.reference classes.
>
> Oliver Deakin wrote:
> > Hi,
> >
> > I get a build error on Linux this morning:
> >
> >    [javac]
> >
> /home/odeakin/svn-checkouts/test/modules/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/jar/JarURLConnection.java:229:
> > inconvertible types
> >    [javac] found   : java.lang.ref.Reference<capture of ? extends
> > java.util.jar.JarFile>
> >    [javac] required:
> >
> org.apache.harmony.luni.internal.net.www.protocol.jar.JarURLConnection.CacheEntry
> >
> >    [javac]             while ((entry = (CacheEntry) cacheQueue.poll())
> > != null)
> >    [javac]                                                         ^
> >
> > Im not sure, but this may have been caused by the application of the
> > patch for HARMONY-1254.
> >
> > Anyone else seeing it?
> >
> > Regards,
> > Oliver
> >
>
>
> --
> Paulex Yang
> China Software Development Lab
> IBM
>
>
>
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>
>


-- 
Thanks,
Stepan Mishura
Intel Middleware Products Division

------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org

Re: [classlib] Error building on Linux

Posted by Paulex Yang <pa...@gmail.com>.
It was me, will recover at once. Seems due to the luni-kernel-stubs.jar 
and luni-kernel.jar has different generics signatures for some 
j.l.reference classes.

Oliver Deakin wrote:
> Hi,
>
> I get a build error on Linux this morning:
>
>    [javac] 
> /home/odeakin/svn-checkouts/test/modules/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/jar/JarURLConnection.java:229: 
> inconvertible types
>    [javac] found   : java.lang.ref.Reference<capture of ? extends 
> java.util.jar.JarFile>
>    [javac] required: 
> org.apache.harmony.luni.internal.net.www.protocol.jar.JarURLConnection.CacheEntry 
>
>    [javac]             while ((entry = (CacheEntry) cacheQueue.poll()) 
> != null)
>    [javac]                                                         ^
>
> Im not sure, but this may have been caused by the application of the
> patch for HARMONY-1254.
>
> Anyone else seeing it?
>
> Regards,
> Oliver
>


-- 
Paulex Yang
China Software Development Lab
IBM



---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org