[8u20] RFR: 8042440: awt_Plugin.h no longer needed

David DeHaven david.dehaven at oracle.com
Thu Jun 12 15:48:38 UTC 2014

Please review the backport of JDK-8042440. The changes are identical to the JDK9 changes except for exactly one line:

$ diff -Narup ~/Desktop/8042440-{8u,9}
@@ -143,7 +143,7 @@ diff --git a/src/solaris/native/sun/awt/
 -#define REFLECT_VOID_FUNCTION(name, arglist, paramlist)                 \
--typedef name##_type arglist;                                            \
+-typedef void name##_type arglist;                                       \
 -void name arglist                                                       \
 -{                                                                       \
 -    static name##_type *name##_ptr = NULL;                              \

It seems someone added a void return type to the function being deleted, which resulted in the patch conflict, the end result is the same, all that code is deleted.

JBS Issue:

JDK 9 review:

Existing JDK9 patch:

JDK 8u-dev webrev:


More information about the jdk8u-dev mailing list