<AWT Dev> [7u] Review request for 7191018: Manual test closed/java/awt/JAWT causes JVM to crash starting from JDK 5

Anton Litvinov anton.litvinov at oracle.com
Fri Aug 16 08:48:06 PDT 2013


Hello Anthony and Sergey,

Could you please review this backport of the fix, which was approved by 
you for JDK 8, from JDK 8 to JDK 7.

Bug: http://bugs.sun.com/view_bug.do?bug_id=7191018
Webrev: http://cr.openjdk.java.net/~alitvinov/7191018/jdk7/webrev.00
JDK 8 webrev: http://cr.openjdk.java.net/~alitvinov/7191018/webrev.00

The backport fix consists of two parts:

- The fix. It is the same with the original fix, but is not binary 
equal, because the function "awt_GetComponent(JNIEnv* env, void* 
platformInfo)" from "awt_DrawingSurface.c" file in JDK 7 contains 
"#ifndef XAWT" macros, which are absent in JDK 8.

- The regression test "test/java/awt/JAWT" imported from JDK 8. It is a 
complete copy of the regression test from JDK 8. The fix assumes that 
the existing purely manual JAWT test is removed from the workspace, as 
it was done in JDK 8 for CR 7190587.

Thank you,
Anton


More information about the awt-dev mailing list