--- a/test/hotspot/jtreg/gc/epsilon/TestEpsilonEnabled.java Mon Apr 23 12:32:25 2018 +0200
+++ b/test/hotspot/jtreg/gc/epsilon/TestEpsilonEnabled.java Mon Apr 23 12:53:43 2018 +0200
@@ -35,8 +35,8 @@
if (Platform.isDebugBuild() && !isEpsilonEnabled()) {
throw new IllegalStateException("Debug builds should have Epsilon enabled");
}
- if (!Platform.isDebugBuild() && isEpsilonEnabled()) {
- throw new IllegalStateException("Non-debug builds should have Epsilon disabled");
+ if (!Platform.isDebugBuild() && !isEpsilonEnabled()) {
+ throw new IllegalStateException("Non-debug builds should have Epsilon enabled");
}
}
}