Error, Java 8, lambda form compilation

Vladimir Ivanov vladimir.x.ivanov at oracle.com
Tue Jan 9 18:18:27 UTC 2018


Thanks, Charlie.

Unfortunately, it doesn't give much info without the exception which 
caused it.

jdk/src/share/classes/java/lang/invoke/LambdaForm.java:
    659         } catch (Error | Exception ex) {
    660             throw newInternalError(this.toString(), ex);
    661         }

Best regards,
Vladimir Ivanov

On 1/9/18 9:10 PM, Charles Oliver Nutter wrote:
> Unfortunately this just happened in one build, but I thought I'd post it 
> here for posterity.
> 
> Unhandled Java exception: java.lang.InternalError: identity_L=Lambda(a0:L/SpeciesData<L>,a1:L,a2:L)=>{
>       [exec]     t3:L=Species_L.argL0(a0:L);t3:L}
>       [exec] java.lang.InternalError: identity_L=Lambda(a0:L/SpeciesData<L>,a1:L,a2:L)=>{
>       [exec]     t3:L=Species_L.argL0(a0:L);t3:L}
>       [exec]    newInternalError at java/lang/invoke/MethodHandleStatics.java:127
>       [exec]   compileToBytecode at java/lang/invoke/LambdaForm.java:660
>       [exec]             prepare at java/lang/invoke/LambdaForm.java:635
>       [exec]              <init> at java/lang/invoke/MethodHandle.java:461
>       [exec]              <init> at java/lang/invoke/BoundMethodHandle.java:58
>       [exec]              <init> at java/lang/invoke/BoundMethodHandle.java:211
>       [exec]            copyWith at java/lang/invoke/BoundMethodHandle.java:228
>       [exec]       dropArguments at java/lang/invoke/MethodHandles.java:2465
>       [exec]       dropArguments at java/lang/invoke/MethodHandles.java:2535
>       [exec]                  up at com/headius/invokebinder/transform/Drop.java:39
>       [exec]              invoke at com/headius/invokebinder/Binder.java:1143
>       [exec]            constant at com/headius/invokebinder/Binder.java:1116
>       [exec]         searchConst at org/jruby/ir/targets/ConstantLookupSite.java:98
>       [exec]    block in autorun at /home/travis/build/jruby/jruby/test/mri/lib/test/unit.rb:935
>       [exec]          callDirect at org/jruby/runtime/CompiledIRBlockBody.java:151
>       [exec]                call at org/jruby/runtime/IRBlockBody.java:77
>       [exec]                call at org/jruby/runtime/Block.java:124
>       [exec]                call at org/jruby/RubyProc.java:288
>       [exec]                call at org/jruby/RubyProc.java:272
>       [exec]            tearDown at org/jruby/Ruby.java:3276
>       [exec]            tearDown at org/jruby/Ruby.java:3249
>       [exec]         internalRun at org/jruby/Main.java:309
>       [exec]                 run at org/jruby/Main.java:232
>       [exec]                main at org/jruby/Main.java:204
> 
> - Charlie
> 
> 
> 
> _______________________________________________
> mlvm-dev mailing list
> mlvm-dev at openjdk.java.net
> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
> 


More information about the mlvm-dev mailing list