Skip to content

Conversation

@ptziegler
Copy link
Contributor

The databinding tests have been disabled because they rely on the (withdrawn[1]) JSR295 specification. Given that this specification is also supported by e.g. Netbeans and the JFormDesigner, it seems too early to remove it completely.

Given that this artifact is only used for testing, the jar is embedded directly into the test bundle so that it doesn't need to be added to Orbit.

With the changes done in 96abbd1, an IllegalArgumentException would be thrown because the array of properties may contain duplicates. This has been revealed by those tests and fixed accordingly.

[1] https://jcp.org/en/jsr/detail?id=295

@ptziegler ptziegler force-pushed the fix-swing-databinding-tests branch from c1e9591 to 0504ff5 Compare June 5, 2025 05:07
" }",
" }",
"}"});
m_waitForAutoBuild = true;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The ClassNotFoundException: test.Test$MyBean is likely an indicator that the snippet hasn't been compiled by the time this method returns. For small snippets this is never really a problem but for bigger stuff like this, we need to explicitly wait.

@ptziegler ptziegler force-pushed the fix-swing-databinding-tests branch from 0504ff5 to 5b287fa Compare June 12, 2025 04:24
@ptziegler ptziegler marked this pull request as ready for review June 12, 2025 04:24
The databinding tests have been disabled because they rely on the
(withdrawn[1]) JSR295 specification. Given that this specification is
also supported by e.g. Netbeans and the JFormDesigner, it seems too
early to remove it completely.

Given that this artifact is only used for testing, the jar is embedded
directly into the test bundle so that it doesn't need to be added to
Orbit.

With the changes done in 96abbd1, an
IllegalArgumentException would be thrown because the array of properties
may contain duplicates. This has been revealed by those tests and fixed
accordingly.

[1] https://jcp.org/en/jsr/detail?id=295
@ptziegler ptziegler force-pushed the fix-swing-databinding-tests branch from 5b287fa to 07e8ffd Compare June 12, 2025 04:53
@ptziegler ptziegler merged commit 1953b75 into eclipse-windowbuilder:master Jun 12, 2025
8 checks passed
@ptziegler ptziegler deleted the fix-swing-databinding-tests branch June 12, 2025 18:17
@ptziegler ptziegler added this to the 1.21.0 milestone Jun 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant