changeset 19354:38a48583e0d8

Wrong assert in test
author alanb
date Mon, 20 Mar 2017 19:05:02 +0000
parents 21ffffec02ce
children d1759eda4acd
files test/java/lang/module/ConfigurationTest.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/java/lang/module/ConfigurationTest.java	Mon Mar 20 17:37:59 2017 +0000
+++ b/test/java/lang/module/ConfigurationTest.java	Mon Mar 20 19:05:02 2017 +0000
@@ -1606,7 +1606,7 @@
 
         ModuleFinder finder2 = ModuleUtils.finderOf(descriptor1, descriptor3);
         Configuration cf2 = resolve(finder2, "m3");
-        assertTrue(cf1.modules().size() == 2);
+        assertTrue(cf2.modules().size() == 2);
 
         // should throw ResolutionException as m4 will read modules named "m1".
         ModuleFinder finder3 = ModuleUtils.finderOf(descriptor4);