-
Bug
-
Resolution: Fixed
-
P3
-
hs25
-
b63
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8031235 | 9 | Igor Ignatyev | P3 | Resolved | Fixed | b02 |
JDK-8030909 | 8u5 | Igor Ignatyev | P3 | Resolved | Fixed | b02 |
JDK-8030675 | 8 | Igor Ignatyev | P3 | Resolved | Fixed | b121 |
JDK-8060516 | 7u80 | Igor Ignatyev | P3 | Resolved | Fixed | b03 |
JDK-8060348 | 7u76 | Igor Ignatyev | P3 | Resolved | Fixed | b04 |
JDK-8049458 | 7u72 | Andreas Eriksson | P3 | Resolved | Fixed | b03 |
JDK-8044863 | 7u71 | Andreas Eriksson | P3 | Closed | Fixed | b03 |
The suggested fix is:
diff -r c302ab46defe test/compiler/7141637/SpreadNullArg.java
--- a/test/compiler/7141637/SpreadNullArg.java Mon Nov 25 18:40:26 2013 -0800
+++ b/test/compiler/7141637/SpreadNullArg.java Mon Nov 25 22:07:41 2013 -0800
@@ -46,9 +46,9 @@ public class SpreadNullArg {
mh_spread_target =
MethodHandles.lookup().findStatic(SpreadNullArg.class, "target_spread_arg", mt_ref_arg);
result = (int) mh_spreadInvoker.invokeExact(mh_spread_target, (Object[]) null);
- } catch(NullPointerException e) {
+ } catch (IllegalArgumentException e) {
// Expected exception - do nothing!
- } catch(Throwable e) {
+ } catch (Throwable e) {
throw new Error(e);
}
- backported by
-
JDK-8030675 [TESTBUG] test/compiler/7141637/SpreadNullArg.java fails because it expects NullPointerException
- Resolved
-
JDK-8030909 [TESTBUG] test/compiler/7141637/SpreadNullArg.java fails because it expects NullPointerException
- Resolved
-
JDK-8031235 [TESTBUG] test/compiler/7141637/SpreadNullArg.java fails because it expects NullPointerException
- Resolved
-
JDK-8049458 [TESTBUG] test/compiler/7141637/SpreadNullArg.java fails because it expects NullPointerException
- Resolved
-
JDK-8060348 [TESTBUG] test/compiler/7141637/SpreadNullArg.java fails because it expects NullPointerException
- Resolved
-
JDK-8060516 [TESTBUG] test/compiler/7141637/SpreadNullArg.java fails because it expects NullPointerException
- Resolved
-
JDK-8044863 [TESTBUG] test/compiler/7141637/SpreadNullArg.java fails because it expects NullPointerException
- Closed
- duplicates
-
JDK-7191323 JSR292 regression: compiler/7141637/SpreadNullArg.java
- Closed
- relates to
-
JDK-8001109 arity mismatch on a call to spreader method handle should elicit IllegalArgumentException
- Closed