Bad class file in build ----------------------- Key: JRUBY-5117 URL: http://jira.codehaus.org/browse/JRUBY-5117 Project: JRuby Issue Type: Bug Affects Versions: JRuby 1.6 Environment: JVM 1.5 on Leopard PPC Reporter: Ian Dees Assignee: Thomas E Enebo
Commit a49928 introduces the following build-time error: {noformat} compile-jruby: [apt] Since compiler setting isn't classic or modern,ignoring fork setting. [apt] Compiling 1011 source files to /Users/username/src/ext/jruby/build/classes/jruby [apt] Since compiler setting isn't classic or modern,ignoring fork setting. [apt] /Users/username/src/ext/jruby/src/org/jruby/runtime/invokedynamic/InvokeDynamicSupport.java:3: cannot access java.dyn.CallSite [apt] bad class file: /Users/username/src/ext/jruby/build_lib/jsr292-mock.jar(java/dyn/CallSite.class) [apt] class file has wrong version 51.0, should be 49.0 [apt] Please remove or make sure it appears in the correct subdirectory of the classpath. [apt] import java.dyn.CallSite; [apt] ^ [apt] /Users/username/src/ext/jruby/src/org/jruby/runtime/invokedynamic/InvokeDynamicSupport.java:3: cannot access java.dyn.CallSite [apt] bad class file: /Users/username/src/ext/jruby/build_lib/jsr292-mock.jar(java/dyn/CallSite.class) [apt] class file has wrong version 51.0, should be 49.0 [apt] Please remove or make sure it appears in the correct subdirectory of the classpath. [apt] import java.dyn.CallSite; [apt] ^ [apt] 1 error BUILD FAILED /Users/username/src/ext/jruby/build.xml:635: The following error occurred while executing this line: /Users/username/src/ext/jruby/build.xml:226: Compile failed; see the compiler error output for details. Total time: 6 minutes 0 seconds {noformat} -- 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