RFR 8187222 : ClassLoader.getSystemClassLoader not clear if recursive initialization leads to ISE or unspecified error (original) (raw)
Brent Christian brent.christian at oracle.com
Fri Dec 1 19:40:16 UTC 2017
- Previous message: RFR 8187222 : ClassLoader.getSystemClassLoader not clear if recursive initialization leads to ISE or unspecified error
- Next message: RFR 8187222 : ClassLoader.getSystemClassLoader not clear if recursive initialization leads to ISE or unspecified error
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 12/1/17 8:33 AM, mandy chung wrote:
Better still might be for initSystemClassLoader to re-throw the cause so that it appears immediately after the "Error occurred during initialization of VM" message that the VM will fail with. Yes that would be better.
So would I do this for RuntimeException and Error, and then package checked types of causes in an Error, as Mandy suggested? (We don't want to throw a checked exception from initSystemClassLoader(), I don't think.)
Thanks, -Brent
- Previous message: RFR 8187222 : ClassLoader.getSystemClassLoader not clear if recursive initialization leads to ISE or unspecified error
- Next message: RFR 8187222 : ClassLoader.getSystemClassLoader not clear if recursive initialization leads to ISE or unspecified error
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]