Can not execute JRuby 1.1.1 "ant test" with IBM JDK
---------------------------------------------------

                 Key: JRUBY-2522
                 URL: http://jira.codehaus.org/browse/JRUBY-2522
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.1.1
         Environment: [EMAIL PROTECTED] 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
[EMAIL PROTECTED] 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

            Reporter: Song Ma
            Assignee: Thomas E Enebo


"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


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to