Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8045515 | 8u25 | Goetz Lindenmaier | P4 | Resolved | Fixed | b01 |
JDK-8035485 | 8u20 | Goetz Lindenmaier | P4 | Resolved | Fixed | b05 |
JDK-8053750 | emb-8u26 | Goetz Lindenmaier | P4 | Resolved | Fixed | b17 |
JDK-8187176 | openjdk7u | Goetz Lindenmaier | P4 | Resolved | Fixed | master |
The checking for exceptions should be consistent within native code.
The net and pack200 native code uses CHECK_NULL(x) and CHECK_NULL(x, y).
Similar macros for CHECK_EXCEPTION(env), CHECK_EXCEPTION_NULL(env), and CHECK_EXCEPTION_RETURN(env, y) using (*env)->ExceptionCheck should be added.
The macros should be promoted to the common/jni_util.h and applied consistently.
The net and pack200 native code uses CHECK_NULL(x) and CHECK_NULL(x, y).
Similar macros for CHECK_EXCEPTION(env), CHECK_EXCEPTION_NULL(env), and CHECK_EXCEPTION_RETURN(env, y) using (*env)->ExceptionCheck should be added.
The macros should be promoted to the common/jni_util.h and applied consistently.
- backported by
-
JDK-8035485 Macros for checking and returning on exceptions
- Resolved
-
JDK-8045515 Macros for checking and returning on exceptions
- Resolved
-
JDK-8053750 Macros for checking and returning on exceptions
- Resolved
-
JDK-8187176 Macros for checking and returning on exceptions
- Resolved