Open samczsun opened 7 years ago
The decompiler doesn't really attempt to handle method handle/type/invoke dynamic stuff, since I'm not sure if there is a good way to represent it in Java.
In this case, it seems to just print the simple version of the MethodType. MethodHandles can't be loaded onto the stack. I wonder if this is an oversight in the JVM..?
It seems that at 3am in the morning I don't function too well. Looking back at that comment I'm not really sure what I was thinking but it obviously isn't correct.
For MethodTypes maybe an artificial MethodType.fromMethodDescriptorString
could be inserted? It seems better than not displaying any indication of the value at all
Strangely enough, I can
ldc
aMethodType
, and the JVM will let me print it:Output:
(Object)void
Decompiled output: