--- /dev/null 2012-12-05 10:43:20.948885885 +0100 +++ new/test/sanity/ExecuteInternalVMTests.java 2012-12-18 11:38:34.857294501 +0100 @@ -0,0 +1,16 @@ +/* @test ExecuteInternalVMTests + * @bug 8004691 + * @summary Add a jtreg test that exercises the ExecuteInternalVMTests flag + * @run main/othervm -XX:+ExecuteInternalVMTests -XX:+IgnoreUnrecognizedVMOptions ExecuteInternalVMTests + */ +public class ExecuteInternalVMTests { + public static void main(String[] args) throws Exception { + // The tests that are run are the HotSpot internal tests which are + // executed only when the flag -XX:+ExecuteInternalVMTests is used. + + // The flag -XX:+ExecuteInternalVMTests can only be used for + // non-product builds of HotSpot. Therefore, the flag + // -XX:+IgnoreUnrecognizedVMOptions is also used, which means that this + // test will do nothing on a product build. + } +}