-
Bug
-
Resolution: Fixed
-
P3
-
9
-
b66
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8082771 | emb-9 | Yekaterina Kantserova | P3 | Resolved | Fixed | team |
In the 09-May-2015 merge of hs main into the hs-rt brought following change to test/compiler/testlibrary/rtm/predicate/SupportedCPU.java:
--- a/test/compiler/testlibrary/rtm/predicate/SupportedCPU.java Tue May 05 16:09:30 2015 -0400
+++ b/test/compiler/testlibrary/rtm/predicate/SupportedCPU.java Fri May 08 13:25:11 2015 -0400
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2014, 2015, 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
@@ -28,9 +28,12 @@
import java.util.function.BooleanSupplier;
+import com.oracle.java.testlibrary.Platform;
+
public class SupportedCPU implements BooleanSupplier {
@Override
public boolean getAsBoolean() {
+ if (Platform.isPPC()) { return CPUInfo.hasFeature("tcheck"); }
return CPUInfo.hasFeature("rtm");
}
}
com.oracle.java.testlibrary does not exist after http://hg.openjdk.java.net/jdk9/hs-rt/hotspot/rev/ed6389f70257 (8067013: Rename the com.oracle.java.testlibary package).
--- a/test/compiler/testlibrary/rtm/predicate/SupportedCPU.java Tue May 05 16:09:30 2015 -0400
+++ b/test/compiler/testlibrary/rtm/predicate/SupportedCPU.java Fri May 08 13:25:11 2015 -0400
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2014, 2015, 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
@@ -28,9 +28,12 @@
import java.util.function.BooleanSupplier;
+import com.oracle.java.testlibrary.Platform;
+
public class SupportedCPU implements BooleanSupplier {
@Override
public boolean getAsBoolean() {
+ if (Platform.isPPC()) { return CPUInfo.hasFeature("tcheck"); }
return CPUInfo.hasFeature("rtm");
}
}
com.oracle.java.testlibrary does not exist after http://hg.openjdk.java.net/jdk9/hs-rt/hotspot/rev/ed6389f70257 (8067013: Rename the com.oracle.java.testlibary package).
- backported by
-
JDK-8082771 compiler/rtm/* tests fail due to Compilation failed
-
- Resolved
-