test/jdk/jdk/jfr/api/consumer/streaming/TestRepositoryProperty.java
branchJEP-349-branch
changeset 58271 e47423f1318b
parent 57361 53dccc90a5be
child 58855 83c307e00630
--- a/test/jdk/jdk/jfr/api/consumer/streaming/TestRepositoryProperty.java	Sun Sep 22 17:31:57 2019 +0200
+++ b/test/jdk/jdk/jfr/api/consumer/streaming/TestRepositoryProperty.java	Mon Sep 23 09:16:05 2019 -0700
@@ -90,7 +90,7 @@
             r.start();
             String location = System.getProperty(JFR_REPOSITORY_LOCATION_PROPERTY);
             if (location == null) {
-                throw new AssertionError("Repository path should exit before JFR is initialized");
+                throw new AssertionError("Repository path should exist before JFR is initialized");
             }
             System.out.println("repository=" + location);
             Path p = Path.of(location);
@@ -104,7 +104,7 @@
     private static void testBeforeInitialization() {
         String location = System.getProperty(JFR_REPOSITORY_LOCATION_PROPERTY);
         if (location != null) {
-            throw new AssertionError("Repository path should exit before JFR is initialized");
+            throw new AssertionError("Repository path should not exist before JFR is initialized");
         }
     }
 }