jdk/test/java/beans/XMLDecoder/8028054/TestConstructorFinder.java
changeset 38989 49fb02b3e95b
parent 33865 d5d2d1a08a71
child 40261 86a49ba76f52
equal deleted inserted replaced
38988:ee7553e41c95 38989:49fb02b3e95b
     1 /*
     1 /*
     2  * Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2013, 2016, 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.
    32  * @test
    32  * @test
    33  * @bug 8028054
    33  * @bug 8028054
    34  * @summary Tests that cached constructors have synchronized access
    34  * @summary Tests that cached constructors have synchronized access
    35  * @author Sergey Malenkov
    35  * @author Sergey Malenkov
    36  * @modules java.desktop/com.sun.beans.finder
    36  * @modules java.desktop/com.sun.beans.finder
       
    37  *          java.activation
       
    38  *          java.transaction
       
    39  *          java.corba
       
    40  *          java.xml.bind
    37  * @compile -XDignore.symbol.file TestConstructorFinder.java
    41  * @compile -XDignore.symbol.file TestConstructorFinder.java
    38  * @run main TestConstructorFinder
    42  * @run main/othervm -addmods java.activation -addmods java.transaction -addmods java.corba -addmods java.xml.bind TestConstructorFinder
    39  */
    43  */
    40 
    44 
    41 public class TestConstructorFinder {
    45 public class TestConstructorFinder {
    42     public static void main(String[] args) throws Exception {
    46     public static void main(String[] args) throws Exception {
    43         List<Class<?>> classes = Task.getClasses(Integer.MAX_VALUE);
    47         List<Class<?>> classes = Task.getClasses(Integer.MAX_VALUE);