Skip to content

build: Tests which ran in the non-modular setup are now failing with the new modular setup #733

@Oliver-Loeffler

Description

Certain tests, e.g. as provided in PR #576 are now failing with the current setup using Maven-Surefire 3.0.0-M5.

Expected Behavior

  • tests shall pass (as those test passed w/o module-info.java)

Current Behavior

  • tests in kit break with an error message about wrong module configuration
[ERROR] Errors:
[ERROR]   FXOMImportsRemoverTest.that_fxml_is_not_modified_when_nothing_is_to_be_removed » InaccessibleObject
[ERROR]   FXOMImportsRemoverTest.that_the_given_imports_are_removed » InaccessibleObject
[ERROR]   FXOMRefresherTest » InaccessibleObject Unable to make public static void com.o...
[ERROR]   FXOMSaverTest » InaccessibleObject Unable to make public static void com.oracl...

Steps to Reproduce

  • clone Scene Builder from issue-120 and checkout commit 55f95ab.
  • cd into kit and run mvnw verify

Your Environment

  • Windows 22H2
  • Java 23
  • OpenJFX 23
  • Maven 3.9.9

Screenshots

grafik

grafik

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions