<AWT Dev> [7u] Review request for 8025775: JNI warnings in TryXShmAttach

Anton Litvinov anton.litvinov at oracle.com
Fri Dec 6 14:03:13 PST 2013


Hello Artem and Anthony,

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=8025775
Webrev: http://cr.openjdk.java.net/~alitvinov/8025775/jdk7/webrev.00
JDK 8 webrev: http://cr.openjdk.java.net/~alitvinov/8025775/jdk8/webrev.01

The fix contains all changes from the fix for JDK 8 and the next 
additional changes:

1. Files "awt_wm.c", "awt_xembed_server.c". Reversion of XError handling 
code implemented as "native -> Java" calls in JDK 7 version of the fix 
for CR 8005607 to its prior state with native error handlers.

2. Files "awt_util.h", "awt_util.c". Return of the macro "XERROR_SAVE" 
and the external global variable "xerror_code", because of their active 
use in XError handling code in the files "awt_wm.c" and 
"awt_xembed_server.c".

Thank you,
Anton


More information about the awt-dev mailing list