Review 8035808: Eliminate dependency to GetPropertyAction and other sun.security.action convenient classes

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Fri Mar 7 15:34:50 UTC 2014


Hi, Alan.
Why we cannot move these classes to java.security.* package instead?

On 3/7/14 6:36 PM, Alan Bateman wrote:
> On 07/03/2014 13:14, Florian Weimer wrote:
>>
>> I think we had sun.security.action.GetPropertyAction for exactly this 
>> purpose.  Consequently, the proposed change actually *increases* 
>> class size:
>>
>> -rw-rw-r--. 1 fweimer fweimer 6056 Mar  7 14:00 
>> ./build-orig/linux-x86_64-normal-server-release/jdk/classes/java/rmi/activation/ActivationGroup.class
>> -rw-rw-r--. 1 fweimer fweimer 6656 Mar  7 14:06 
>> ./build/linux-x86_64-normal-server-release/jdk/classes/java/rmi/activation/ActivationGroup.class
>>
> Fair, there is a second downside but usually there is a win if there 
> are inner classes replaced.
>
> -Alan.


-- 
Best regards, Sergey.




More information about the core-libs-dev mailing list