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

annotation build issue with jigsaw

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • None
    • javafx
    • None

      There are two annotation classes in buildSrc that cannot be seen in a jigsaw enabled build. These are:

      buildSrc/src/main/java/com/sun/javafx/beans/annotations/Default.java
      buildSrc/src/main/java/com/sun/javafx/collections/annotations/ReturnsUnmodifiableCollection.java

      The current workaround/solution is to copy these files into the base module and add the following exports

          exports com.sun.javafx.beans.annotations to
              javafx.controls,
              javafx.graphics;
          exports com.sun.javafx.collections.annotations to
              javafx.controls,
              javafx.graphics;

            ddhill David Hill (Inactive)
            ddhill David Hill (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: