Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8080100

compiler/rtm/* tests fail due to Compilation failed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • hotspot
    • b66

        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).

              ykantser Yekaterina Kantserova (Inactive)
              ykantser Yekaterina Kantserova (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: