8203774: RFR jdk/jfr/api/recorder/TestStartStopRecording.java failed due to compilation failed

Erik Gahlin erik.gahlin at oracle.com
Thu May 24 13:34:06 UTC 2018


Hi,

Could I have a review of this fix.

"@library /test/lib" were missed in a previous  fix:

"8201331: Better test cleanup for 
jdk/jfr/api/consumer/TestRecordingFile.java"
http://mail.openjdk.java.net/pipermail/hotspot-jfr-dev/2018-May/000049.html

Thanks
Erik

diff --git a/test/jdk/jdk/jfr/api/recorder/TestStartStopRecording.java 
b/test/jdk/jdk/jfr/api/recorder/TestStartStopRecording.java
--- a/test/jdk/jdk/jfr/api/recorder/TestStartStopRecording.java
+++ b/test/jdk/jdk/jfr/api/recorder/TestStartStopRecording.java
@@ -38,6 +38,7 @@
   * @test TestStartStopRecording
   *
   * @key jfr
+ * @library /test/lib
   * @run main/othervm jdk.jfr.api.recorder.TestStartStopRecording
   */
  public class TestStartStopRecording {
diff --git a/test/jdk/jdk/jfr/jvm/TestUnsupportedVM.java 
b/test/jdk/jdk/jfr/jvm/TestUnsupportedVM.java
--- a/test/jdk/jdk/jfr/jvm/TestUnsupportedVM.java
+++ b/test/jdk/jdk/jfr/jvm/TestUnsupportedVM.java
@@ -71,6 +71,7 @@
   * @modules jdk.jfr
   *          jdk.management.jfr
   *
+ * @library /test/lib
   * @run main/othervm -Dprepare-recording=true 
jdk.jfr.jvm.TestUnsupportedVM
   * @run main/othervm -Djfr.unsupported.vm=true 
jdk.jfr.jvm.TestUnsupportedVM
   */





More information about the hotspot-jfr-dev mailing list