jdk/test/sun/reflect/AnonymousNewInstance/ManyNewInstanceAnonTest.java
changeset 33402 1156d495a525
parent 30820 0d4717a011d3
child 36966 4209c9e19c45
equal deleted inserted replaced
33373:4a0312f2894b 33402:1156d495a525
     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.
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @bug 7194897
    26  * @bug 7194897
    27  * @summary JSR 292: Cannot create more than 16 instances of an anonymous class
    27  * @summary JSR 292: Cannot create more than 16 instances of an anonymous class
    28  * @modules java.base/sun.misc
    28  * @modules java.base/sun.misc
    29  * @modules java.management
    29  *          java.management
    30  * @library /lib/testlibrary
    30  * @library /lib/testlibrary
    31  * @author  Robert Field
    31  * @author  Robert Field
    32  * @compile -XDignore.symbol.file ManyNewInstanceAnonTest.java
    32  * @compile -XDignore.symbol.file ManyNewInstanceAnonTest.java
    33  * @build jdk.testlibrary.*
    33  * @build jdk.testlibrary.*
    34  * @run main ClassFileInstaller ManyNewInstanceAnonTest
    34  * @run main ClassFileInstaller ManyNewInstanceAnonTest