Add WebLogic 14.x and 15.x server support#9414
Open
ganigurgah wants to merge 1 commit into
Open
Conversation
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
reviewed
May 29, 2026
| # | ||
|
|
||
| javac.source=1.8 | ||
| javac.source=11 |
Member
There was a problem hiding this comment.
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); | ||
| } |
Member
There was a problem hiding this comment.
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); | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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