hotspot/test/compiler/jsr292/methodHandleExceptions/TestAMEnotNPE.java
changeset 29678 dd2f3932c21e
parent 21770 e8932d2fda2c
child 40059 c2304140ed64
equal deleted inserted replaced
29586:889895365eb9 29678:dd2f3932c21e
     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