Skip to content
Permalink
Browse files
Automatic merge of jdk:master into master
  • Loading branch information
duke committed Jun 30, 2021
2 parents 5d419d4 + a0f32cb commit 8e77d8f055be0949eda2713d7dfb8b44b623bb33
Showing 1 changed file with 2 additions and 2 deletions.
@@ -139,8 +139,8 @@ public void run() {
if (newCollectionCount <= collectionCount) {
throw new RuntimeException("No new collection");
}
if (newCollectionTime <= collectionTime) {
throw new RuntimeException("Collector has not run some more");
if (newCollectionTime < collectionTime) {
throw new RuntimeException("Collection time ran backwards");
}

System.out.println("Test passed.");

0 comments on commit 8e77d8f

Please sign in to comment.