Open dovchinnikov opened 10 months ago
protected
members of sealed classes are probably affected by the same problem (I didn't check).
Well, JVMS doesn't stop us from having a class extending j.l.Enum, so one theoretically may have a "enum" with non-final protected methods that could be overridden by some other class on the classpath. 😢
What problem you're trying to solve? Do you have a bunch of enums that change constantly?
What problem you're trying to solve?
I'm trying to minimize the amount of entries in the dump.
Do you have a bunch of enums that change constantly?
Not really. But the same argument can be used for any other member which is hidden from dumps by BCV and which technically constitutes API from JVMS perspective, right? If the argument applies here, then it should be applicable there, and if it's not applicable there, then it should not be considered here.
Expected:
Actual: