diff -r 889895365eb9 -r dd2f3932c21e hotspot/test/testlibrary_tests/ctw/JarDirTest.java --- a/hotspot/test/testlibrary_tests/ctw/JarDirTest.java Mon Mar 23 11:44:41 2015 -0700 +++ b/hotspot/test/testlibrary_tests/ctw/JarDirTest.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -25,6 +25,11 @@ * @test * @bug 8012447 * @library /testlibrary /../../test/lib /testlibrary/ctw/src + * @modules java.base/sun.misc + * java.base/sun.reflect + * java.compiler + * java.management + * jdk.jvmstat/sun.jvmstat.monitor * @build ClassFileInstaller com.oracle.java.testlibrary.* sun.hotspot.tools.ctw.CompileTheWorld sun.hotspot.WhiteBox Foo Bar * @run main ClassFileInstaller sun.hotspot.WhiteBox Foo Bar * sun.hotspot.WhiteBox$WhiteBoxPermission