Skip to content

Conversation

@mbien
Copy link
Member

@mbien mbien commented Apr 2, 2025

I remember trying to bump the javac target on java/form a few times already but it failed since as soon --release was set it couldn't find the peer classes anymore. This tries to resolve it.

  • FormDesigner needs to access the java.awt.peer package
  • javac ant task should not upgrade to --release in that case since it will fail when --add-exports is used on JDK modules
  • keep AbsoluteLayout.jar on Java 8 level

@lahodaj would this be the right approach?

meta issue #8813

@mbien mbien added Java [ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form) FormDesigner GUI builder, also known as Matisse labels Apr 2, 2025
@mbien mbien requested a review from lahodaj April 2, 2025 06:25
@mbien mbien force-pushed the bump-formdesigner-module-lang-level branch from 1c0735f to 5c27589 Compare April 8, 2025 12:04
@mbien mbien added this to the NB29 milestone Oct 15, 2025
@mbien
Copy link
Member Author

mbien commented Oct 15, 2025

lets try to get this one in during the NB 29 cycle

@mbien mbien marked this pull request as ready for review October 15, 2025 20:56
@mbien
Copy link
Member Author

mbien commented Oct 25, 2025

@jlahoda could you take a look at this?

Copy link
Contributor

@lahodaj lahodaj left a comment

Choose a reason for hiding this comment

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

I think this is a reasonable step. It would be better if we found a way to do it with --release (as it would make it easier to e.g. build with Valhalla to get identity warnings, which I tried), but this is a step in a right direction in any case. Thanks!

@mbien
Copy link
Member Author

mbien commented Oct 30, 2025

as it would make it easier to e.g. build with Valhalla to get identity warnings, which I tried

oh interesting! I didn't try that so far actually. I did run NB master on a valhalla build for a day though after fixing a platform/masterfs issue #8964 (It worked surprisingly well)

Will rebase this PR and merge, thanks for reviewing!

 - FormDesigner needs to access the java.awt.peer package
 - javac ant task should not set --release in that case since
   it will fail when --add-exports is used on JDK modules
 - keep AbsoluteLayout.jar on Java 8 level
@mbien mbien force-pushed the bump-formdesigner-module-lang-level branch from 5c27589 to ba99c75 Compare October 30, 2025 21:10
@mbien mbien merged commit c3bc2a9 into apache:master Oct 30, 2025
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

FormDesigner GUI builder, also known as Matisse Java [ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants