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

[CompileFramework] enable compilation for VectorAPI

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 25
    • 25
    • hotspot
    • b16

      During work on JDK-8344942 I discovered that it is currently not possible to compile VectorAPI code because it is still in incubator mode and needs flag "--add-modules=jdk.incubator.vector" for "javac".

      Also: "javac" can produce warnings, and that leads to issues like this: JDK-8351998. We should allow such warnings, they are not compile failures.

      Example:
      javac --add-modules=jdk.incubator.vector Test.java
      warning: [incubating] using incubating module(s): jdk.incubator.vector
      1 warning

            epeter Emanuel Peter
            epeter Emanuel Peter
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: