Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.1.1
-
Fix Version/s: JRuby 1.2
-
Component/s: IBM/Other VM
-
Labels:None
-
Environment:Hide[sma@localhost jruby-1.1.1]$ uname -a
Linux localhost.localdomain 2.6.21-2950.fc8xen #1 SMP Tue Oct 23 12:24:34 EDT 2007 i686 i686 i386 GNU/Linux
[sma@localhost jruby-1.1.1]$ java -version
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build pxi32dev-20080315 (SR7))
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Linux x86-32 j9vmxi3223-20080315 (JIT enabled)
J9VM - 20080314_17962_lHdSMr
JIT - 20080130_0718ifx2_r8
GC - 200802_08)
JCL - 20080314
Show[sma@localhost jruby-1.1.1]$ uname -a Linux localhost.localdomain 2.6.21-2950.fc8xen #1 SMP Tue Oct 23 12:24:34 EDT 2007 i686 i686 i386 GNU/Linux [sma@localhost jruby-1.1.1]$ java -version java version "1.5.0" Java(TM) 2 Runtime Environment, Standard Edition (build pxi32dev-20080315 (SR7)) IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Linux x86-32 j9vmxi3223-20080315 (JIT enabled) J9VM - 20080314_17962_lHdSMr JIT - 20080130_0718ifx2_r8 GC - 200802_08) JCL - 20080314
-
Number of attachments :
Description
"ant test" has been defunct since release 1.1 for IBM JDK 5.0 or above.
Buildfile: build.xml
init:
jar:
jar-jruby:
init:
extract-rdocs:
prepare:
compile-tasks:
[copy] Copying 1 file to /home/sma/jruby-1.1.1/build/classes/jruby
compile-annotation-binder:
check-for-optional-java4-packages:
check-for-optional-packages:
compile-jruby:
compile:
generate-method-classes:
[echo] Generating invokers...
[echo] Compiling populators...
[jarjar] Building jar: /home/sma/jruby-1.1.1/lib/jruby.jar
compile-test:
copy-test-files:
instrument:
run-junit-compiled:
[echo] compile=JIT, jit.threshold=0, jit.max=-1, objectspace=true threadpool=false reflection=false version=ruby1_8
[junit] Testsuite: org.jruby.test.MainTestSuite
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
[junit]
[junit] Null Test: Caused an ERROR
[junit] (org/jruby/test/MainTestSuite) bad major version at offset=6
[junit] java.lang.UnsupportedClassVersionError: (org/jruby/test/MainTestSuite) bad major version at offset=6
[junit] at java.lang.ClassLoader.defineClassImpl(Native Method)
[junit] at java.lang.ClassLoader.defineClass(ClassLoader.java:258)
[junit] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:151)
[junit] at java.net.URLClassLoader.defineClass(URLClassLoader.java:589)
[junit] at java.net.URLClassLoader.access$400(URLClassLoader.java:123)
[junit] at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:1034)
[junit] at java.security.AccessController.doPrivileged(AccessController.java:279)
[junit] at java.net.URLClassLoader.findClass(URLClassLoader.java:491)
[junit] at java.lang.ClassLoader.loadClass(ClassLoader.java:631)
[junit] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:328)
[junit] at java.lang.ClassLoader.loadClass(ClassLoader.java:597)
[junit] at java.lang.Class.forNameImpl(Native Method)
[junit] at java.lang.Class.forName(Class.java:130)
[junit]
[junit]
BUILD FAILED
/home/sma/jruby-1.1.1/build.xml:465: The following error occurred while executing this line:
/home/sma/jruby-1.1.1/build.xml:546: The following error occurred while executing this line:
/home/sma/jruby-1.1.1/build.xml:505: Tests failed
Total time: 19 seconds
I finally went downloaded IBM Java 5 and it did indeed have different failures/issues than Java 6. But I worked through all of them and we now have IBM Java 5 running on the CI machine. So this should be golden, and 1.1.7 should support IBM Java 5 out of the box.