Skip to content

Add WebLogic 14.x and 15.x server support#9414

Open
ganigurgah wants to merge 1 commit into
apache:masterfrom
ganigurgah:weblogic-14c-support
Open

Add WebLogic 14.x and 15.x server support#9414
ganigurgah wants to merge 1 commit into
apache:masterfrom
ganigurgah:weblogic-14c-support

Conversation

@ganigurgah
Copy link
Copy Markdown

@ganigurgah ganigurgah commented May 29, 2026

Fixes #6109

Issue

NetBeans WebLogic plugin did not recognize WebLogic 14.x and 15.x installations as supported versions and did not offer them as deployment targets for Jakarta EE projects.

Fix

  • WebLogicLayout.isSupportedVersion(): replaced hardcoded version whitelist with isAboveOrEqual("9.0.0.0") so future versions are supported without code changes
  • WLDeploymentFactory: added VERSION_1411 and VERSION_1511 constants
  • WLJ2eePlatformFactory: added Java EE 8, Jakarta EE 8, Jakarta EE 9, 9.1, 10 and 11 profile support for WebLogic 14+ and 15+; added JDK 11 and 17 as supported Java versions for WebLogic 14+ and 15+
  • BaseDescriptorModel: added VERSION_14_1_1 constant
  • WebLogicLayoutTest: added test coverage for versions 14.x and 15.x
  • Bumped javac.source to 11 which is the minimum required by WebLogic 14.x; this also fixes a build error caused by InputStream.transferTo() not being available at source level 1.8

Fixes apache#6109

**Issue**

NetBeans WebLogic plugin did not recognize WebLogic 14.x and 15.x
installations as supported versions and did not offer them as
deployment targets for Jakarta EE projects.

**Fix**

- WebLogicLayout.isSupportedVersion(): replaced hardcoded version
  whitelist with isAboveOrEqual("9.0.0.0") so future versions are
  supported without code changes
- WLDeploymentFactory: added VERSION_1411 and VERSION_1511 constants
- WLJ2eePlatformFactory: added Java EE 8, Jakarta EE 8, Jakarta EE 9,
  9.1, 10 and 11 profile support for WebLogic 14+ and 15+;
  added JDK 11 and 17 as supported Java versions for WebLogic 14+ and 15+
- BaseDescriptorModel: added VERSION_14_1_1 constant
- WebLogicLayoutTest: added test coverage for versions 14.x and 15.x
- Bumped javac.source to 11 which is the minimum required by WebLogic
  14.x; this also fixes a build error caused by InputStream.transferTo()
  not being available at source level 1.8

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@mbien mbien added Java EE/Jakarta EE [ci] enable enterprise job enterprise [ci] enable enterprise job labels May 29, 2026
#

javac.source=1.8
javac.source=11
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

please switch to javac.release. plus: The NB project can use 21 now, assuming tests pass.

feel free to edit the commit and force push

Comment on lines -117 to +121
is.transferTo(os);
byte[] buf = new byte[4096];
int n;
while ((n = is.read(buf)) != -1) {
os.write(buf, 0, n);
}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

unclear why this was changed. This does not appear to require jdk 8 target.

Comment on lines -400 to +404
is.transferTo(os);
byte[] buf = new byte[4096];
int n;
while ((n = is.read(buf)) != -1) {
os.write(buf, 0, n);
}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

please revert too

@mbien mbien added the ci:dev-build [ci] produce a dev-build zip artifact (7 days expiration, see link on workflow summary page) label May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:dev-build [ci] produce a dev-build zip artifact (7 days expiration, see link on workflow summary page) enterprise [ci] enable enterprise job Java EE/Jakarta EE [ci] enable enterprise job

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Suport Weblogic 14c

2 participants