changeset 3808:e655eba3ff9c

8170953: CheckResourceKeys tests should declare the resource package to be open Reviewed-by: mchung
author jjg
date Thu, 08 Dec 2016 16:52:38 -0800
parents 4da132af5f52
children 5d43af61155b
files test/jdk/javadoc/tool/CheckResourceKeys.java test/tools/javac/diags/CheckExamples.java test/tools/javac/diags/CheckResourceKeys.java test/tools/javac/warnings/VerifyLintDescriptions.java test/tools/javadoc/CheckResourceKeys.java
diffstat 5 files changed, 14 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/test/jdk/javadoc/tool/CheckResourceKeys.java	Thu Dec 08 21:21:48 2016 +0000
+++ b/test/jdk/javadoc/tool/CheckResourceKeys.java	Thu Dec 08 16:52:38 2016 -0800
@@ -26,6 +26,9 @@
  * @bug 8000612
  * @summary need test program to validate javadoc resource bundles
  * @modules jdk.javadoc/jdk.javadoc.internal.tool
+ *          jdk.javadoc/jdk.javadoc.internal.doclets.formats.html.resources:open
+ *          jdk.javadoc/jdk.javadoc.internal.doclets.toolkit.resources:open
+ *          jdk.javadoc/jdk.javadoc.internal.tool.resources:open
  *          jdk.jdeps/com.sun.tools.classfile
  */
 
--- a/test/tools/javac/diags/CheckExamples.java	Thu Dec 08 21:21:48 2016 +0000
+++ b/test/tools/javac/diags/CheckExamples.java	Thu Dec 08 16:52:38 2016 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2010, 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
@@ -28,6 +28,7 @@
  * @modules jdk.compiler/com.sun.tools.javac.api
  *          jdk.compiler/com.sun.tools.javac.file
  *          jdk.compiler/com.sun.tools.javac.main
+ *          jdk.compiler/com.sun.tools.javac.resources:open
  *          jdk.compiler/com.sun.tools.javac.util
  * @build Example CheckExamples DocCommentProcessor
  * @run main/othervm CheckExamples
--- a/test/tools/javac/diags/CheckResourceKeys.java	Thu Dec 08 21:21:48 2016 +0000
+++ b/test/tools/javac/diags/CheckResourceKeys.java	Thu Dec 08 16:52:38 2016 -0800
@@ -25,8 +25,9 @@
  * @test
  * @bug 6964768 6964461 6964469 6964487 6964460 6964481 6980021
  * @summary need test program to validate javac resource bundles
- * @modules jdk.jdeps/com.sun.tools.classfile
- *          jdk.compiler/com.sun.tools.javac.code
+ * @modules jdk.compiler/com.sun.tools.javac.code
+ *          jdk.compiler/com.sun.tools.javac.resources:open
+ *          jdk.jdeps/com.sun.tools.classfile
  */
 
 import java.io.*;
--- a/test/tools/javac/warnings/VerifyLintDescriptions.java	Thu Dec 08 21:21:48 2016 +0000
+++ b/test/tools/javac/warnings/VerifyLintDescriptions.java	Thu Dec 08 16:52:38 2016 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2014, 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
@@ -26,6 +26,7 @@
  * @bug 8033961
  * @summary Verify that all LintCategories have their descriptions filled.
  * @modules jdk.compiler/com.sun.tools.javac.code
+ *          jdk.compiler/com.sun.tools.javac.resources:open
  *          jdk.compiler/com.sun.tools.javac.util
  */
 
--- a/test/tools/javadoc/CheckResourceKeys.java	Thu Dec 08 21:21:48 2016 +0000
+++ b/test/tools/javadoc/CheckResourceKeys.java	Thu Dec 08 16:52:38 2016 -0800
@@ -25,7 +25,10 @@
  * @test
  * @bug 8000612
  * @summary need test program to validate javadoc resource bundles
- * @modules jdk.jdeps/com.sun.tools.classfile
+ * @modules jdk.javadoc/com.sun.tools.doclets.formats.html.resources:open
+ *          jdk.javadoc/com.sun.tools.doclets.internal.toolkit.resources:open
+ *          jdk.javadoc/com.sun.tools.javadoc.resources:open
+ *          jdk.jdeps/com.sun.tools.classfile
  */
 
 import java.io.*;