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

build breaks with -Werror option on micro benchmark added for JDK-8256973

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Version:
      17
    • Resolved In Build:
      b23

      Description

      The new test:

      test/micro/org/openjdk/bench/jdk/incubator/vector/MaskQueryOperationsBenchmark.java

      is failing to compile on all platforms:

      [2021-05-19T05:45:29,302Z] /opt/mach5/mesos/work_dir/slaves/3c846bae-ce30-4a97-93ee-9fef4497ccb6-S79388/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/09b663e8-27ed-43a0-8088-d43b44df79f8/runs/bff63285-4385-4893-b711-25562609e505/workspace/open/test/micro/org/openjdk/bench/jdk/incubator/vector/MaskQueryOperationsBenchmark.java:100: warning: [unchecked] unchecked method invocation: method fromArray in class VectorMask is applied to given types
      [2021-05-19T05:45:29,306Z] bmask = VectorMask.fromArray(bspecies, mask_arr, 0);
      [2021-05-19T05:45:29,306Z] ^
      [2021-05-19T05:45:29,306Z] required: VectorSpecies<E>,boolean[],int
      [2021-05-19T05:45:29,306Z] found: VectorSpecies,boolean[],int
      [2021-05-19T05:45:29,306Z] where E is a type-variable:
      [2021-05-19T05:45:29,306Z] E extends Object declared in method <E>fromArray(VectorSpecies<E>,boolean[],int)
      [2021-05-19T05:45:29,306Z] /opt/mach5/mesos/work_dir/slaves/3c846bae-ce30-4a97-93ee-9fef4497ccb6-S79388/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/09b663e8-27ed-43a0-8088-d43b44df79f8/runs/bff63285-4385-4893-b711-25562609e505/workspace/open/test/micro/org/openjdk/bench/jdk/incubator/vector/MaskQueryOperationsBenchmark.java:100: warning: [unchecked] unchecked conversion
      [2021-05-19T05:45:29,306Z] bmask = VectorMask.fromArray(bspecies, mask_arr, 0);
      [2021-05-19T05:45:29,306Z] ^
      [2021-05-19T05:45:29,306Z] required: VectorSpecies<E>
      [2021-05-19T05:45:29,306Z] found: VectorSpecies
      [2021-05-19T05:45:29,306Z] where E is a type-variable:
      [2021-05-19T05:45:29,306Z] E extends Object declared in method <E>fromArray(VectorSpecies<E>,boolean[],int)
      [2021-05-19T05:45:29,307Z] /opt/mach5/mesos/work_dir/slaves/3c846bae-ce30-4a97-93ee-9fef4497ccb6-S79388/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/09b663e8-27ed-43a0-8088-d43b44df79f8/runs/bff63285-4385-4893-b711-25562609e505/workspace/open/test/micro/org/openjdk/bench/jdk/incubator/vector/MaskQueryOperationsBenchmark.java:101: warning: [unchecked] unchecked method invocation: method fromArray in class VectorMask is applied to given types
      [2021-05-19T05:45:29,307Z] smask = VectorMask.fromArray(sspecies, mask_arr, 0);
      [2021-05-19T05:45:29,307Z] ^
      [2021-05-19T05:45:29,307Z] required: VectorSpecies<E>,boolean[],int
      [2021-05-19T05:45:29,307Z] found: VectorSpecies,boolean[],int
      [2021-05-19T05:45:29,307Z] where E is a type-variable:
      [2021-05-19T05:45:29,307Z] E extends Object declared in method <E>fromArray(VectorSpecies<E>,boolean[],int)
      [2021-05-19T05:45:29,307Z] /opt/mach5/mesos/work_dir/slaves/3c846bae-ce30-4a97-93ee-9fef4497ccb6-S79388/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/09b663e8-27ed-43a0-8088-d43b44df79f8/runs/bff63285-4385-4893-b711-25562609e505/workspace/open/test/micro/org/openjdk/bench/jdk/incubator/vector/MaskQueryOperationsBenchmark.java:101: warning: [unchecked] unchecked conversion
      [2021-05-19T05:45:29,307Z] smask = VectorMask.fromArray(sspecies, mask_arr, 0);
      [2021-05-19T05:45:29,307Z] ^
      [2021-05-19T05:45:29,307Z] required: VectorSpecies<E>
      [2021-05-19T05:45:29,307Z] found: VectorSpecies
      [2021-05-19T05:45:29,307Z] where E is a type-variable:
      [2021-05-19T05:45:29,307Z] E extends Object declared in method <E>fromArray(VectorSpecies<E>,boolean[],int)
      [2021-05-19T05:45:29,307Z] /opt/mach5/mesos/work_dir/slaves/3c846bae-ce30-4a97-93ee-9fef4497ccb6-S79388/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/09b663e8-27ed-43a0-8088-d43b44df79f8/runs/bff63285-4385-4893-b711-25562609e505/workspace/open/test/micro/org/openjdk/bench/jdk/incubator/vector/MaskQueryOperationsBenchmark.java:102: warning: [unchecked] unchecked method invocation: method fromArray in class VectorMask is applied to given types
      [2021-05-19T05:45:29,307Z] imask = VectorMask.fromArray(ispecies, mask_arr, 0);
      [2021-05-19T05:45:29,307Z] ^
      [2021-05-19T05:45:29,307Z] required: VectorSpecies<E>,boolean[],int
      [2021-05-19T05:45:29,307Z] found: VectorSpecies,boolean[],int
      [2021-05-19T05:45:29,307Z] where E is a type-variable:
      [2021-05-19T05:45:29,307Z] E extends Object declared in method <E>fromArray(VectorSpecies<E>,boolean[],int)
      [2021-05-19T05:45:29,307Z] /opt/mach5/mesos/work_dir/slaves/3c846bae-ce30-4a97-93ee-9fef4497ccb6-S79388/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/09b663e8-27ed-43a0-8088-d43b44df79f8/runs/bff63285-4385-4893-b711-25562609e505/workspace/open/test/micro/org/openjdk/bench/jdk/incubator/vector/MaskQueryOperationsBenchmark.java:102: warning: [unchecked] unchecked conversion
      [2021-05-19T05:45:29,307Z] imask = VectorMask.fromArray(ispecies, mask_arr, 0);
      [2021-05-19T05:45:29,307Z] ^
      [2021-05-19T05:45:29,307Z] required: VectorSpecies<E>
      [2021-05-19T05:45:29,316Z] found: VectorSpecies
      [2021-05-19T05:45:29,316Z] where E is a type-variable:
      [2021-05-19T05:45:29,316Z] E extends Object declared in method <E>fromArray(VectorSpecies<E>,boolean[],int)
      [2021-05-19T05:45:29,316Z] /opt/mach5/mesos/work_dir/slaves/3c846bae-ce30-4a97-93ee-9fef4497ccb6-S79388/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/09b663e8-27ed-43a0-8088-d43b44df79f8/runs/bff63285-4385-4893-b711-25562609e505/workspace/open/test/micro/org/openjdk/bench/jdk/incubator/vector/MaskQueryOperationsBenchmark.java:103: warning: [unchecked] unchecked method invocation: method fromArray in class VectorMask is applied to given types
      [2021-05-19T05:45:29,316Z] lmask = VectorMask.fromArray(lspecies, mask_arr, 0);
      [2021-05-19T05:45:29,316Z] ^
      [2021-05-19T05:45:29,316Z] required: VectorSpecies<E>,boolean[],int
      [2021-05-19T05:45:29,316Z] found: VectorSpecies,boolean[],int
      [2021-05-19T05:45:29,316Z] where E is a type-variable:
      [2021-05-19T05:45:29,316Z] E extends Object declared in method <E>fromArray(VectorSpecies<E>,boolean[],int)
      [2021-05-19T05:45:29,316Z] /opt/mach5/mesos/work_dir/slaves/3c846bae-ce30-4a97-93ee-9fef4497ccb6-S79388/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/09b663e8-27ed-43a0-8088-d43b44df79f8/runs/bff63285-4385-4893-b711-25562609e505/workspace/open/test/micro/org/openjdk/bench/jdk/incubator/vector/MaskQueryOperationsBenchmark.java:103: warning: [unchecked] unchecked conversion
      [2021-05-19T05:45:29,317Z] lmask = VectorMask.fromArray(lspecies, mask_arr, 0);
      [2021-05-19T05:45:29,317Z] ^
      [2021-05-19T05:45:29,317Z] required: VectorSpecies<E>
      [2021-05-19T05:45:29,317Z] found: VectorSpecies
      [2021-05-19T05:45:29,317Z] where E is a type-variable:
      [2021-05-19T05:45:29,317Z] E extends Object declared in method <E>fromArray(VectorSpecies<E>,boolean[],int)
      [2021-05-19T05:45:29,317Z] error: warnings found and -Werror specified
      [2021-05-19T05:45:40,107Z] 1 error
      [2021-05-19T05:45:40,109Z] 8 warnings

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jbhateja Jatin Bhateja
              Reporter:
              dholmes David Holmes
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: