equal
deleted
inserted
replaced
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); |