Use of Class.getSimpleName() in java.lang.invoke and InnerClass attribute verification

Remi Forax forax at univ-mlv.fr
Wed Dec 2 11:03:39 UTC 2020


Most of the error message form the error that can be thrown by classes of java.lang.invoke are using Class.getSimpleName() which makes debugging hidden classes painful because getSimpleName() scrubs the hexadecimal number part of a hidden class name.

It also seems that the VM has a zealot stance on the InnerClass attribute verification, which i think is wrong.
  see https://mail.openjdk.java.net/pipermail/core-libs-dev/2020-November/071813.html

Rémi


More information about the valhalla-spec-observers mailing list