<AWT Dev> [10] RFR 8193435: Remove pre-1.2 SecurityManager text from java.awt.Toolkit

Phil Race philip.race at oracle.com
Mon Dec 18 18:14:07 UTC 2017


Dmitry,

Did you confirm that there are no tests that check for this removed 
behaviour ?

-phil.

On 12/18/2017 10:01 AM, Sergey Bylokhov wrote:
> Looks fine.
>
> On 18/12/2017 08:47, Dmitry Markov wrote:
>> Hello,
>>
>> Could you review a fix for jdk10, please?
>>
>>   bug: https://bugs.openjdk.java.net/browse/JDK-8193435
>>   webrev: http://cr.openjdk.java.net/~dmarkov/8193435/webrev.00/
>>   CSR: https://bugs.openjdk.java.net/browse/JDK-8193709
>>
>> Problem description:
>> Support for pre-JDK 1.2 SecurityManager was removed under JDK-8189750
>>
>> Fix:
>> Updated the 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 removed corresponding fallback code from 
>> SunToolkit.checkPermission() and the constructor of URLImageSource.
>>
>> Thanks,
>> Dmitry
>
>



More information about the awt-dev mailing list