Merge
authorhseigel
Tue, 14 Jun 2016 19:30:19 +0000
changeset 39284 d504ca981ccf
parent 39283 cce7f4eedf89 (diff)
parent 39281 84e5f0fc2112 (current diff)
child 39285 2ab363810925
child 39287 67f35c905a56
Merge
--- a/hotspot/test/runtime/ErrorHandling/ProblematicFrameTest.java	Tue Jun 14 19:38:44 2016 +0200
+++ b/hotspot/test/runtime/ErrorHandling/ProblematicFrameTest.java	Tue Jun 14 19:30:19 2016 +0000
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2014, 2016, 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
@@ -48,8 +48,9 @@
 
     public static void main(String[] args) throws Exception {
         ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(
-            "-Xmx64m", "-XX:-TransmitErrorReport", "-XX:-CreateCoredumpOnCrash", Crasher.class.getName());
+            "-Xmx64m", "-XX:-TransmitErrorReport", "-XaddExports:java.base/jdk.internal.misc=ALL-UNNAMED", "-XX:-CreateCoredumpOnCrash", Crasher.class.getName());
         OutputAnalyzer output = new OutputAnalyzer(pb.start());
+        output.shouldNotContain("Exception in thread");
         output.shouldNotMatch("error occurred during error reporting \\(printing problematic frame\\)");
     }
 }
--- a/hotspot/test/runtime/modules/Xpatch/XpatchJavaBase.java	Tue Jun 14 19:38:44 2016 +0200
+++ b/hotspot/test/runtime/modules/Xpatch/XpatchJavaBase.java	Tue Jun 14 19:30:19 2016 +0000
@@ -25,6 +25,7 @@
  * @test
  * @bug 8130399
  * @summary Make sure -Xpatch works for java.base.
+ * @modules java.base/jdk.internal.misc
  * @library /testlibrary
  * @compile XpatchMain.java
  * @run main XpatchJavaBase