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`.

This pull request has now been integrated.

Changeset: 3e376e66
Author:    Ambarish Rapte <ara...@openjdk.org>
URL:       
https://git.openjdk.org/jfx/commit/3e376e66a3510f8dee7abb52344961caee1d114a
Stats:     1 line in 1 file changed: 1 ins; 0 del; 0 mod

8367306: HeaderButtonOverlayTest fails to compile with TEST_SDK_PATH

Reviewed-by: kcr

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

PR: https://git.openjdk.org/jfx/pull/1891

Reply via email to