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

Openjfx build broken (Eclipse)

XMLWordPrintable

      the issues:

      - compile of base fails
      - some test in controls can't be run

      introduced with fix of JDK-8244297 (addition of JMemoryBuddy):

      - the new memory test class requires jdk.management
      - users of the test class (in controls) need access to its package

      a tentative fix is to change the .classpath files:

      of base:

      <classpathentry kind="src" output="testbin" path="src/test/java">
      <attributes>
      <attribute name="test" value="true"/>
      <attribute name="optional" value="true"/>
      <attribute name="module" value="true"/>
      <attribute name="add-reads"
      value="javafx.base=jdk.management:javafx.base=java.management"/>
      </attributes>
      </classpathentry>

      of controls:

      <classpathentry combineaccessrules="false" kind="src" path="/base">
      <attributes>
      <attribute name="module" value="true"/>
      <attribute name="add-exports"
      value="javafx.base/test.com.sun.javafx.binding=javafx.controls:javafx.base/test.util.memory=javafx.controls"/>
      </attributes>
      </classpathentry>


      also see discussion in https://mail.openjdk.java.net/pipermail/openjfx-dev/2020-November/028090.html


            fastegal Jeanette Winzenburg
            fastegal Jeanette Winzenburg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: