JDK-8193435 : Remove pre-1.2 SecurityManager text from java.awt.Toolkit
Type:Bug
Component:client-libs
Sub-Component:java.awt
Affected Version:10
Priority:P3
Status:Resolved
Resolution:Fixed
Submitted:2017-12-13
Updated:2018-04-23
Resolved:2017-12-22
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
It is necessary to remove pre-1.2 SecurityManager text and and related code from java.awt.Toolkit class.
Comments
Problem description:
Support for pre-JDK 1.2 SecurityManager was removed under JDK-8189750. So it is necessary to update classes in java.desktop accordingly.
Poposed fix:
It is necessary to update description of java.awt.Toolkit.getImage(URL u) and java.awt.Toolkit.createImage(URL u) to get rid of ���pre JDK 1.2 SecurityManager��� text. Also the corresponding fallback code should be removed from SunToolkit.checkPermission(URL u) and from the constructor of URLImageSource.
http://cr.openjdk.java.net/~dmarkov/8193435/webrev.00/