Skip to content

Bump FormDesigner module to JDK 17 and adjust javac task #8387

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

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?

@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
 - 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 1c0735f to 5c27589 Compare April 8, 2025 12:04
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.

2 participants