When a private static method is added to java.lang.Object, it is examined by default method processing. This can be seen when running with -Xlog:defaultmethods=debug.
It seems like those methods should be immediately excluded as default methods.
It seems like those methods should be immediately excluded as default methods.
- relates to
-
JDK-8028438 Lambda: default methods static superclass method masking default
-
- Closed
-
-
JDK-8219713 Reduce work in DefaultMethods::generate_default_methods
-
- Resolved
-