On Wed, 10 Sep 2025 11:26:28 GMT, Ambarish Rapte <ara...@openjdk.org> wrote:

> When using `-PTEST_SDK_PATH=<path>` and `-PTEST_ONLY=true`, the test 
> `HeaderButtonOverlayTest` fails to compile with error: _package 
> com.sun.glass.events is not visible_
> 
> The test compiles and executes fine with normal command: `gradle 
> :graphics:test`.
> In this case the JavaFX is built locally and the 
> `com.sun.glass.events.MouseEvent` class file becomes reachable through 
> classpath. A bug is filed to investigate this separately : 
> [JDK-8367327](https://bugs.openjdk.org/browse/JDK-8367327)
> 
> Fix is quick, to update the `modules/javafx.graphics/src/test/addExports`.

@kevinrushforth please take a look

-------------

PR Comment: https://git.openjdk.org/jfx/pull/1891#issuecomment-3274529637

Reply via email to