diff -r 889895365eb9 -r dd2f3932c21e hotspot/test/gc/startup_warnings/TestParallelGC.java --- a/hotspot/test/gc/startup_warnings/TestParallelGC.java Mon Mar 23 11:44:41 2015 -0700 +++ b/hotspot/test/gc/startup_warnings/TestParallelGC.java Thu Mar 26 16:36:56 2015 +0100 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2013, 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 @@ -27,6 +27,8 @@ * @bug 8006398 * @summary Test that ParallelGC does not print a warning message * @library /testlibrary +* @modules java.base/sun.misc +* java.management */ import com.oracle.java.testlibrary.OutputAnalyzer;