# HG changeset patch # User darcy # Date 1497917622 25200 # Node ID 83f6eb009d8f6e94fd348c7d23e4b00754d745db # Parent 51b4cd2af28e5d6993e9eb46ab241c2997862d3c 8182566: Including missing test update for JDK-8163989 Reviewed-by: jjg diff -r 51b4cd2af28e -r 83f6eb009d8f test/tools/javac/file/MultiReleaseJar/MutliReleaseModuleInfoTest.java --- 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!");