<AWT Dev> RFR: 8227587: Add internal privileged System.loadLibrary

Claes Redestad claes.redestad at oracle.com
Fri Jul 12 14:37:42 UTC 2019


I'm dropping the changes to java.desktop from this RFE.

On 2019-07-12 16:14, Philip Race wrote:
> 3) I've spent spare time over a number of months trying to decrease
> unnecessary coupling between desktop and base modules. This seems to create
> additional technical debt there with minimal benefit, so in other words
> I'd much prefer that either you don't do this at all or the many, many,
> uses in the desktop module that are the heaviest Java->native code
> user in the JDK are dealt with entirely separately (separate bug) and at 
> a minimum
> there is one place in the desktop module that they all call to and
> perhaps only then *through*.

Right, 20 of the 31 usages in java.desktop are loading "awt", and
could just be switched out with a call to 
NativeLibLoader.loadLibraries(). Quick and easy win, but I have better
things to do than spend time where I'm not welcome.


More information about the awt-dev mailing list