--- a/langtools/test/tools/javac/proprietary/WarnClass.java Mon May 18 14:48:41 2015 +0200
+++ b/langtools/test/tools/javac/proprietary/WarnClass.java Thu May 21 11:41:04 2015 -0700
@@ -3,6 +3,7 @@
* @bug 6380059
* @summary Emit warnings for proprietary packages in the boot class path
* @author Peter von der Ah\u00e9
+ * @modules java.base/sun.misc
* @compile WarnClass.java
* @compile/fail/ref=WarnClass.out -XDrawDiagnostics -Werror WarnClass.java
* @compile/fail/ref=WarnClass.out -XDrawDiagnostics -Werror -nowarn WarnClass.java