changeset 14494:e5fcea3aa679

Enable the test case to verify unnamed module fails to load properties bundle from named module
author mchung
date Tue, 17 Nov 2015 15:12:29 -0800
parents 5b75092f3ecc
children 5aadb299a052
files test/java/util/logging/modules/pkgs/p3/test/ResourceBundleTest.java
diffstat 1 files changed, 2 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/test/java/util/logging/modules/pkgs/p3/test/ResourceBundleTest.java	Mon Nov 16 16:02:09 2015 -0800
+++ b/test/java/util/logging/modules/pkgs/p3/test/ResourceBundleTest.java	Tue Nov 17 15:12:29 2015 -0800
@@ -153,16 +153,10 @@
         // property resource bundle in another named module m1.
         failToLoadResourceBundle("mylogger.k", "p1.resource.p",
                 true, NAMED_NEGATIVE_PROPERTYBUNDLE_MSG);
-        /*
-         * new issue : 8137316
-         * Expected MissingResourceException is not thrown when Logger.getLogger
-         * wrapped in a named module is accessed from an unnamed module
-         * after 8137316 is fixed, should uncomment below lines of code.
-         */
         // in named module m2, try to create a logger with
         // property resource bundle in an unnamed module.
-//        failToLoadResourceBundle("mylogger.l", "p3.resource.p",
-//        true, NAMED_NEGATIVE_PROPERTYBUNDLE_MSG);
+        failToLoadResourceBundle("mylogger.l", "p3.resource.p",
+                true, NAMED_NEGATIVE_PROPERTYBUNDLE_MSG);
     }
 
     static void failToLoadResourceBundle(String loggerName, String rbName,