-
Enhancement
-
Resolution: Unresolved
-
P3
-
8, 11, 17, 21, 23
TraceClassLoading (JDK 8) currently prints a "Loaded <class>" message when the class is loaded but not yet linked. In JDK 11+, this message is included in the logging framework as "[info][class,load] <Class>".
These messages are not well understood by many users and are often misinterpreted as meaning the class is loaded, linked and usable. In circumstances where a third party software may be swallowing errors, such as LinkageErrors, it may be that classloading fails after the "Loaded <class>" message has been printed, giving a false indication of success.
This is a request to print a message when the class is linked and add any LinkageErrors to the tracing.
These messages are not well understood by many users and are often misinterpreted as meaning the class is loaded, linked and usable. In circumstances where a third party software may be swallowing errors, such as LinkageErrors, it may be that classloading fails after the "Loaded <class>" message has been printed, giving a false indication of success.
This is a request to print a message when the class is linked and add any LinkageErrors to the tracing.