equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
33 |
33 |
34 /** |
34 /** |
35 * @test @bug 8025260 8016839 |
35 * @test @bug 8025260 8016839 |
36 * @summary Ensure that AbstractMethodError and IllegalAccessError are thrown appropriately, not NullPointerException |
36 * @summary Ensure that AbstractMethodError and IllegalAccessError are thrown appropriately, not NullPointerException |
37 * |
37 * |
|
38 * @modules java.base/jdk.internal.org.objectweb.asm |
38 * @compile -XDignore.symbol.file TestAMEnotNPE.java ByteClassLoader.java p/C.java p/Dok.java p/E.java p/F.java p/I.java p/Tdirect.java p/Treflect.java |
39 * @compile -XDignore.symbol.file TestAMEnotNPE.java ByteClassLoader.java p/C.java p/Dok.java p/E.java p/F.java p/I.java p/Tdirect.java p/Treflect.java |
39 * |
40 * |
40 * @run main/othervm TestAMEnotNPE |
41 * @run main/othervm TestAMEnotNPE |
41 * @run main/othervm -Xint TestAMEnotNPE |
42 * @run main/othervm -Xint TestAMEnotNPE |
42 * @run main/othervm -Xcomp TestAMEnotNPE |
43 * @run main/othervm -Xcomp TestAMEnotNPE |