Skip to content
New issue

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

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

Already on GitHub? # to your account

Using release instead of source+target, removing ldapbp module #25096

Merged
merged 5 commits into from
Aug 14, 2024

Conversation

dmatej
Copy link
Contributor

@dmatej dmatej commented Aug 14, 2024

  • source+target are deprecated, so I switched to release
  • That broke the build, so ...
  • microprofile-config received explicitly the mandatory 17 release. The FilteringClassLoader will filter it out on JDK11, so that should be ok. However developers will be forced to use 17+ - side effect is that every built GlassFish will contain also microprofile-config; originally the build just skipped it on JDK11.
  • ldapbp was not used and broke the build with exporting a package from system module java.naming is not allowed with --release - and Maven is right, exporting system modules is evil ;-) . This module is also visibly buggy when you just read its code, so I removed it. No harm for GlassFish and I don't expect anybody would use it.

…ugin)

Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
- The rest of GF uses just Java 11 as required java version

Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
- I just fixed its build in 2022, but it was never even tested.
- The --add-export instruction is in collision with the <release> element set
  for compiler. Obviously it would cause problems in the future.

Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
- on JDK11 is missing the Microprofile support

Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
@dmatej dmatej added this to the 7.0.17 milestone Aug 14, 2024
@dmatej dmatej marked this pull request as ready for review August 14, 2024 19:07
@dmatej dmatej mentioned this pull request Aug 14, 2024
@dmatej dmatej merged commit b35cd64 into eclipse-ee4j:master Aug 14, 2024
2 checks passed
@dmatej dmatej deleted the compiler-release branch August 14, 2024 20:29
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants