On Mon, 1 Jun 2026 22:02:31 GMT, Marius Hanl <[email protected]> wrote:

> With JDK-26, there is a new error when running tests. It seems that this is 
> related how records hash their values.
> With `JDK_HOME` set to a JDK-26, I can reliable reproduce this error by 
> running:
>> ./gradlew :controls:test --tests TextLayoutUtilsContractTest
> 
> Fix: `com.sun.javafx.geom.transform` added to the `addExports`. This is where 
> `BaseTransform` is located.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

Marked as reviewed by angorya (Reviewer).

this command alone

gradle :controls:test --tests TextLayoutUtilsContractTest

does not seem to pick up the dependency.

and yes, IDE is not involved - I ran it in the console.

could be.  in any case, a complete rebuild is always a good idea - eliminates 
the whole class of dependency-related failures.

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

PR Review: https://git.openjdk.org/jfx/pull/2180#pullrequestreview-4412327523
PR Comment: https://git.openjdk.org/jfx/pull/2180#issuecomment-4605620751
PR Comment: https://git.openjdk.org/jfx/pull/2180#issuecomment-4605758211

Reply via email to