8213299: runtime/appcds/jigsaw/classpathtests/EmptyClassInBootClassPath.java failed with java.lang.NoSuchMethodException
authordarcy
Fri, 11 Jan 2019 08:32:44 -0800
changeset 53285 fa2f191e72f5
parent 53284 a995647f4911
child 53287 6b963dd96b5e
8213299: runtime/appcds/jigsaw/classpathtests/EmptyClassInBootClassPath.java failed with java.lang.NoSuchMethodException Reviewed-by: dholmes
src/java.base/share/classes/java/lang/Class.java
test/hotspot/jtreg/ProblemList.txt
--- a/src/java.base/share/classes/java/lang/Class.java	Fri Jan 11 09:02:44 2019 -0500
+++ b/src/java.base/share/classes/java/lang/Class.java	Fri Jan 11 08:32:44 2019 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1994, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1994, 2019, 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
@@ -3420,8 +3420,8 @@
         StringBuilder sb = new StringBuilder();
         sb.append(getName() + "." + name + "(");
         if (argTypes != null) {
-            Stream.of(argTypes).map(c -> {return (c == null) ? "null" : c.getName();}).
-                collect(Collectors.joining(","));
+            sb.append(Stream.of(argTypes).map(c -> {return (c == null) ? "null" : c.getName();}).
+                      collect(Collectors.joining(",")));
         }
         sb.append(")");
         return sb.toString();
--- a/test/hotspot/jtreg/ProblemList.txt	Fri Jan 11 09:02:44 2019 -0500
+++ b/test/hotspot/jtreg/ProblemList.txt	Fri Jan 11 08:32:44 2019 -0800
@@ -85,7 +85,6 @@
 
 runtime/appcds/javaldr/GCSharedStringsDuringDump.java 8208778 macosx-x64
 runtime/appcds/javaldr/GCDuringDump.java 8208778 macosx-x64
-runtime/appcds/jigsaw/classpathtests/EmptyClassInBootClassPath.java 8213299 generic-all
 runtime/CompressedOops/UseCompressedOops.java 8079353 generic-all
 runtime/handshake/HandshakeWalkSuspendExitTest.java 8214174 generic-all
 runtime/RedefineTests/RedefineRunningMethods.java 8208778 macosx-x64