diff -r ee7553e41c95 -r 49fb02b3e95b jdk/test/java/beans/XMLDecoder/8028054/TestConstructorFinder.java --- a/jdk/test/java/beans/XMLDecoder/8028054/TestConstructorFinder.java Thu May 19 22:24:00 2016 +0300 +++ b/jdk/test/java/beans/XMLDecoder/8028054/TestConstructorFinder.java Sat May 21 02:53:37 2016 +0300 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -34,8 +34,12 @@ * @summary Tests that cached constructors have synchronized access * @author Sergey Malenkov * @modules java.desktop/com.sun.beans.finder + * java.activation + * java.transaction + * java.corba + * java.xml.bind * @compile -XDignore.symbol.file TestConstructorFinder.java - * @run main TestConstructorFinder + * @run main/othervm -addmods java.activation -addmods java.transaction -addmods java.corba -addmods java.xml.bind TestConstructorFinder */ public class TestConstructorFinder {