You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Martin Alderson <Ma...@salfordsoftware.co.uk> on 2008/01/09 11:18:35 UTC
Re: [bigbang] Branch compilation failure, 2 of 2
Hi Enrique,
Did you ever manage to get to the bottom of this? I'm getting the same errors in trunk now.
I'm running on a Windows XP box with java:
java version "1.5.0_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode)
This is with a freshly checked out copy of the latest trunk (http://svn.apache.org/repos/asf/directory/apacheds/trunk-with-dependencies) and a completely cleared out maven repository.
Anyone have any ideas on this?
Martin
>>> "Enrique Rodriguez" <en...@gmail.com> 11/11/2007 21:50 >>>
Hi, Directory developers,
The 'bigbang' branch fails to compile with the following error:
...
core-entry/src/main/java/org/apache/directory/server/core/entry/BasicServerAttribute.java:[108,22]
inconvertible types
found : org.apache.directory.server.core.entry.ServerValue<capture of ?>
required: org.apache.directory.server.core.entry.ServerStringValue
core-entry/src/main/java/org/apache/directory/server/core/entry/BasicServerAttribute.java:[112,22]
inconvertible types
found : org.apache.directory.server.core.entry.ServerValue<capture of ?>
required: org.apache.directory.server.core.entry.ServerBinaryValue
core-entry/src/main/java/org/apache/directory/server/core/entry/ObjectClassAttribute.java:[109,22]
inconvertible types
found : org.apache.directory.server.core.entry.ServerValue<capture of ?>
required: org.apache.directory.server.core.entry.ServerStringValue
...
I'm not sure what's up here. I'm building the bigbang versions of
project, shared, and apacheds. Also, I'm on a Mac with 'java
-version':
java version "1.5.0_07"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-164)
Java HotSpot(TM) Client VM (build 1.5.0_07-87, mixed mode, sharing)
HTH,
Enrique
Re: [bigbang] Branch compilation failure, 2 of 2
Posted by Martin Alderson <Ma...@salfordsoftware.co.uk>.
I can finally confirm that upgrading my JVM has fixed the problem. For those interested I also had the same problem in eclipse 3.2.2 which I guess uses an internal compiler. I upgraded to 3.3 and that fixed the problem there too.
Thanks,
Martin
>>> Martin Alderson <eq...@planetquake.com> 12/01/2008 00:33 >>>
Hi Emmanuel,
I suspect that this is just a JVM version problem, as you said. I
can't quite confirm that yet as I am now getting test failures and
haven't yet had chance to look into them.
Thanks for the help!
Martin
Emmanuel Lecharny wrote:
> Martin Alderson wrote:
>> Hi Enrique,
>>
>> Did you ever manage to get to the bottom of this? I'm getting the
>> same errors in trunk now.
>>
> FYI, Enrique had this errors on Mac OS-X with a buggy version of the
> apple JVM. I was able to reproduce the problem on my mac too. Thanks to
> him, as he gave me the link to a newest version for the JVM, this
> problem has been fixed.
>
> I engage you strongly to move to a newer JVM : 1.5.0_04 is pretty old !
> The latest 1.5 version is 1.5.0_14...
> http://java.sun.com/javase/downloads/index_jdk5.jsp
>
>
Re: [bigbang] Branch compilation failure, 2 of 2
Posted by Martin Alderson <eq...@planetquake.com>.
Hi Emmanuel,
I suspect that this is just a JVM version problem, as you said. I
can't quite confirm that yet as I am now getting test failures and
haven't yet had chance to look into them.
Thanks for the help!
Martin
Emmanuel Lecharny wrote:
> Martin Alderson wrote:
>> Hi Enrique,
>>
>> Did you ever manage to get to the bottom of this? I'm getting the
>> same errors in trunk now.
>>
> FYI, Enrique had this errors on Mac OS-X with a buggy version of the
> apple JVM. I was able to reproduce the problem on my mac too. Thanks to
> him, as he gave me the link to a newest version for the JVM, this
> problem has been fixed.
>
> I engage you strongly to move to a newer JVM : 1.5.0_04 is pretty old !
> The latest 1.5 version is 1.5.0_14...
> http://java.sun.com/javase/downloads/index_jdk5.jsp
>
>
Re: [bigbang] Branch compilation failure, 2 of 2
Posted by Emmanuel Lecharny <el...@gmail.com>.
Martin Alderson wrote:
> Hi Enrique,
>
> Did you ever manage to get to the bottom of this? I'm getting the same errors in trunk now.
>
FYI, Enrique had this errors on Mac OS-X with a buggy version of the
apple JVM. I was able to reproduce the problem on my mac too. Thanks to
him, as he gave me the link to a newest version for the JVM, this
problem has been fixed.
I engage you strongly to move to a newer JVM : 1.5.0_04 is pretty old !
The latest 1.5 version is 1.5.0_14...
http://java.sun.com/javase/downloads/index_jdk5.jsp
--
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org