Fw: SWT_AWT bridge fails with IllegalAccessException in Java 1.9
Kevin Rushforth
kevin.rushforth at oracle.com
Thu Dec 10 01:39:15 UTC 2015
Phil will be the best person to answer this one.
I will note that we have a somewhat similar issue in FX, the difference
being that we ship the SWT/FX bridge with the JDK, albeit as a separate
jar file with an external dependency on SWT (which has its own challenges).
-- Kevin
Alan Bateman wrote:
>
>
> On 08/12/2015 08:13, Lakshmi P Shanmugam wrote:
>> :
>>
>> I would like to request for the addition of the above internal APIs
>> to the
>> critical API list in JEP 260 so that are accessible for Java 1.9. Also,
>> please provide replacement APIs for them in the future.
>>
>>
> I think this needs someone with expertise in this area to comment, I
> hope Phil Race or Kevin Rushforth.
>
> In particular, I think it needs direction as to whether a standard or
> JDK-specific make sense here and whether now is the time to try to
> define that. Maybe there have been discussion on this issue in the past.
>
> Also it would be useful to understand whether exporting sun.awt.X11,
> sun.awt.windows, .. is even feasible. I will guess that it would
> require major refactoring to move these packages out of java.desktop
> to the jdk.unsupported module. It would require everything else in
> these packages to move elsewhere. There is also the concern that it
> would result in a standard module (java.desktop) have a dependency on
> a JDK-specific module (jdk.unsupported).
>
> -Alan
More information about the jigsaw-dev
mailing list