Can't build JRuby on last OpenJDK builds (58+) because of uncorrect
Invokdynamic support
----------------------------------------------------------------------------------------
Key: JRUBY-3663
URL: http://jira.codehaus.org/browse/JRUBY-3663
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.3
Environment: Ubuntu 8.10; OpenJDK 7 build 58 or and build 59 (enabled
Invokedynamic support)
Reporter: Raphael Valyi
Priority: Blocker
Get OpenJDK 1.7 build 58 or 59, try to build with ant jar.
It fails withe the following error:
compile-jruby:
[apt] Since compiler setting isn't classic or modern,ignoring fork
setting.
[apt] Compiling 718 source files to
/home/rvalyi/DEV/jruby/build/classes/jruby
[apt] Since compiler setting isn't classic or modern,ignoring fork
setting.
[apt] warning: Annotation types without processors:
java.lang.Override,java.lang.Deprecated,org.jruby.anno.JRubyConstant,java.lang.SuppressWarnings,org.jruby.anno.JRubyModule,java.lang.annotation.Retention,java.lang.annotation.Target
[apt] 1 warning
[apt]
/home/rvalyi/DEV/jruby/src/org/jruby/runtime/invokedynamic/InvokeDynamicSupport.java:52:
cannot find symbol
[apt] MethodHandle outHandle = MethodHandles.findStatic(
[apt] ^
[apt] symbol: method
findStatic(java.lang.Class<org.jruby.runtime.invokedynamic.InvokeDynamicSupport>,java.lang.String,java.dyn.MethodType)
[apt] location: class java.dyn.MethodHandles
[apt]
/home/rvalyi/DEV/jruby/src/org/jruby/runtime/invokedynamic/InvokeDynamicSupport.java:56:
method insertArgument in class java.dyn.MethodHandles cannot be applied to
given types
[apt] MethodHandle inHandle =
MethodHandles.insertArgument(outHandle, method);
[apt] ^
[apt] required: java.dyn.MethodHandle,int,java.lang.Object
[apt] found:
java.dyn.MethodHandle,org.jruby.internal.runtime.methods.DynamicMethod
[apt] Note: Some input files use unchecked or unsafe operations.
[apt] Note: Recompile with -Xlint:unchecked for details.
[apt] 2 errors
BUILD FAILED
/home/rvalyi/DEV/jruby/build.xml:393: The following error occurred while
executing this line:
/home/rvalyi/DEV/jruby/build.xml:146: Compile failed; see the compiler error
output for details.
a workaround is to remove the ...jruby/src/org/jruby/runtime/invokedynamic
directory an rebuild.
Hope this helps
Raphael Valyi
--
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