My last attempt to solve this problem didn't work because some classes
needed for string formatting were not loaded by init level 3 in some
cases. So I had to backtrack and try a different approach.
This patch avoids localization and message formatting when the VM is not
booted. In this case, non-localized messages are printed, and simplified
message formatting code is used. Once the VM is loaded, messages are
localized and formatted in the usual way.
http://cr.openjdk.java.net/~apetcher/8168075/webrev.01/
On 1/11/2017 8:34 AM, Adam Petcher wrote:
Please review the following bug fix:
http://cr.openjdk.java.net/~apetcher/8168075/webrev.00/
This fixes a bug in which a permission check would try to load
resources while the system class loader is being initialized.
Resources cannot be loaded at this time, so this change ensures that
the resources are loaded earlier.