mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-15 02:44:47 +01:00
parse lambdas with two interfaces
This commit is contained in:
parent
f393802418
commit
56f46fcbe6
@ -56,6 +56,13 @@ public class BootstrapMethod {
|
||||
samMethodType = (String)constantPool.get( input.readUnsignedShort() );
|
||||
implMethod = (ConstantRef)constantPool.get( input.readUnsignedShort() );
|
||||
instantiatedMethodType = (String)constantPool.get( input.readUnsignedShort() );
|
||||
|
||||
// skip extra parameters
|
||||
// argCount is 5 if the method is LambdaMetafactory.altMetafactory
|
||||
// occur if the Lambda type has 2 types compound with "&" like in java.time.chrono.AbstractChronology
|
||||
for( int i = 3; i < argCount; i++ ) {
|
||||
System.err.println( constantPool.get( input.readUnsignedShort() ) );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user