<AWT Dev> [9] Review Request: 8148109 [SWT] Provide a supported mechanism to use EmbeddedFrame

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Mon Aug 1 12:39:43 UTC 2016

Please review the fix for jdk9.

In the fix the part of our internal api is opened via jawt library which 
is a jdk api, so the important part of the fix is in the jawt.h file. 
This api can be used by other toolkits to implement embedding of 
awt/swing components into some other native windows.

There are no tests in the fix since I plan to implement a number of 
tests via separate CR.(but I am not sure what is the best way to create 
a native dll, which will reuse jawt api -> manual/precompiled dll/ 
compilation on the fly?).

jprt job is passed, the ccc will be filed after the technical review.

  - JAWT_VERSION_9 is used intentionally instead of JAWT_VERSION_1_9.
  - On OSX validateWithBounds() intentionally was changed to 
setBoundsPrivate() as on other platforms.

Bug: https://bugs.openjdk.java.net/browse/JDK-8148109
Webrev can be found at: http://cr.openjdk.java.net/~serb/8148109/webrev.00

Best regards, Sergey.

More information about the awt-dev mailing list