changeset 4165:83f6eb009d8f jdk-9+175

8182566: Including missing test update for JDK-8163989 Reviewed-by: jjg
author darcy
date Mon, 19 Jun 2017 17:13:42 -0700
parents 51b4cd2af28e
children 141a3c187e1a
files test/tools/javac/file/MultiReleaseJar/MutliReleaseModuleInfoTest.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test/tools/javac/file/MultiReleaseJar/MutliReleaseModuleInfoTest.java	Mon Jun 19 15:06:01 2017 -0700
+++ b/test/tools/javac/file/MultiReleaseJar/MutliReleaseModuleInfoTest.java	Mon Jun 19 17:13:42 2017 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2016, 2017, 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
@@ -132,7 +132,7 @@
             }
             boolean foundjd = false;
             for (RequiresDirective rd : ElementFilter.requiresIn(sm.getDirectives())) {
-                foundjd |= rd.getDependency().getSimpleName().contentEquals("java.desktop");
+                foundjd |= rd.getDependency().getQualifiedName().contentEquals("java.desktop");
             }
             if (!foundjd) {
                 throw new AssertionError("Missing dependency on java desktop module!");