the issues:
- compile of base fails
- some test in controls can't be run
introduced with fix ofJDK-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
- compile of base fails
- some test in controls can't be run
introduced with fix of
- 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
- relates to
-
JDK-8265513 Openjfx graphics build broken (Eclipse)
- Resolved
-
JDK-8244297 Provide utility for testing for memory leaks
- Resolved