On 12/08/2015 10:47 AM, 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

...unless sun.awt.windows.WEmbeddedFrame/XEmbeddedFrame is moved to jdk.unsupported and made to extend a new class in java.desktop and java.desktop refactored to use this new encapsulated class which is then exported only to jdk.unsupported...

Regards, Peter

Reply via email to