javap uses the Signature attribute to print the "Java" version of the signature, which is generally better than the descriptor, since it adds generic info, but it might omit parameters not written by the user -- in the case of enum constructors, this includes the name and index values to be passed to the Enum constructor.
In general, in verbose mode, it would probably be good for javap to always prominently display the descriptor for a method.
In general, in verbose mode, it would probably be good for javap to always prominently display the descriptor for a method.
- duplicates
-
JDK-8007052 javap should include the descriptor for a method in verbose mode
-
- Closed
-