Yep, I'm amazed at the number of OpenJDK issues I've seen reported to
OpenJPA and Geronimo mailing lists, which go away when the Sun JDK or
IBM SDK is used.  Makes you wonder why anyone would ever use it....


-Donald

On 7/19/10 7:13 PM, Karan Malhi wrote:
> It was an openjdk issue. Switching to sun jdk resolved it
> 
> On Mon, Jul 19, 2010 at 4:46 PM, Karan Malhi <[email protected]> wrote:
> 
>> Did not send it to the dev list earlier
>>
>>
>> Output of mvn -version
>> ------------------------------------
>> ka...@sabira:~/projects/oss/bval$ mvn -version
>>
>> Apache Maven 2.2.1 (rdebian-1)
>> Java version: 1.6.0_18
>> Java home: /usr/lib/jvm/java-6-openjdk/jre
>> Default locale: en_US, platform encoding: UTF-8
>> OS name: "linux" version: "2.6.32-23-generic-pae" arch: "i386" Family:
>> "unix"
>>
>> Output of java-version
>> ------------------------------------
>> ka...@sabira:~/projects/oss/bval$ java -version
>>
>> java version "1.6.0_18"
>> OpenJDK Runtime Environment (IcedTea6 1.8) (6b18-1.8-0ubuntu1)
>> OpenJDK Server VM (build 14.0-b16, mixed mode)
>>
>> Output of svn info
>> --------------------------------
>> ka...@sabira:~/projects/oss/bval$ svn info
>> Path: .
>> URL: https://svn.apache.org/repos/asf/incubator/bval/trunk
>> Repository Root: https://svn.apache.org/repos/asf
>> Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
>> Revision: 965614
>> Node Kind: directory
>> Schedule: normal
>> Last Changed Author: carlosvara
>> Last Changed Rev: 962902
>> Last Changed Date: 2010-07-10 14:43:44 -0400 (Sat, 10 Jul 2010)
>>
>>
>> On Mon, Jul 19, 2010 at 4:04 PM, Donald Woods <[email protected]> wrote:
>>
>>> What version of Maven and Java are you using?
>>> I just rebuilt trunk using "mvn clean install" and it worked for me on
>>> MacOSX with Maven 2.2.1 and Java 1.6.0_20.
>>>
>>>
>>> -Donald
>>>
>>>
>>> On 7/19/10 12:26 PM, Karan Malhi wrote:
>>>> I checked out sources and did mvn clean install, but build failed to
>>>> compile. Here is the partial output:
>>>>
>>>> [ERROR] BUILD FAILURE
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Compilation failure
>>>>
>>>>
>>> /home/karan/projects/oss/bval/bval-jsr303/src/test/java/org/apache/bval/jsr303/BootstrapTest.java:[122,27]
>>>> incompatible types; inferred type argument(s) java.lang.Object do not
>>>> conform to bounds of type variable(s) T
>>>> found   : <T>javax.validation.bootstrap.ProviderSpecificBootstrap<T>
>>>> required: java.lang.Object
>>>>
>>>>
>>> /home/karan/projects/oss/bval/bval-jsr303/src/test/java/org/apache/bval/jsr303/CustomConstraintValidatorFactoryTest.java:[67,73]
>>>> incompatible types; inferred type argument(s) java.lang.Object do not
>>>> conform to bounds of type variable(s) T
>>>> found   : <T>javax.validation.bootstrap.ProviderSpecificBootstrap<T>
>>>> required: java.lang.Object
>>>>
>>>>
>>> /home/karan/projects/oss/bval/bval-jsr303/src/test/java/org/apache/bval/jsr303/xml/ValidationParserTest.java:[68,35]
>>>> incompatible types; inferred type argument(s) java.lang.Object do not
>>>> conform to bounds of type variable(s) T
>>>> found   : <T>javax.validation.bootstrap.ProviderSpecificBootstrap<T>
>>>> required: java.lang.Object
>>>>
>>>>
>>>
>>
>>
>>
>> --
>> Karan Singh Malhi
>>
> 
> 
> 

Reply via email to