Skip to content
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

PAYARA-3247 Add NPN Version Switch #3414

Merged
merged 5 commits into from
Nov 14, 2018
Merged

PAYARA-3247 Add NPN Version Switch #3414

merged 5 commits into from
Nov 14, 2018

Conversation

MattGill98
Copy link
Contributor

These changes include several NPN jars, and code to dynamically select one when the asadmin start script runs. Ran manual tests:

  • start-domain and then ping https://localhost:8181/ with OpenJDK 8u72 through to 8u192.
  • Starting 8u192 instance from 8u181 DAS admin console.
  • Payara Micro and ping https://localhost:8181/ on 8u192 (Shouldn't be any different but who knows).

@MattGill98 MattGill98 added this to the Payara 5.184 milestone Nov 12, 2018
@MattGill98 MattGill98 self-assigned this Nov 12, 2018
@MattGill98
Copy link
Contributor Author

jenkins test please

Copy link
Contributor

@smillidge smillidge left a comment

Choose a reason for hiding this comment

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

Looks like a pretty neat solution. Although there will be a level of maintenance required to keep it up to date. We also need to remember to rip it out as part of the JDK 11+ work.

@lprimak
Copy link
Contributor

lprimak commented Nov 13, 2018

Any chance this all can be avoided just by using version support that now exists in the jvm-options tag in domain.xml?

@MattGill98
Copy link
Contributor Author

I've switched out the hard coded logic for the version support in the domain.xml, and fixed a bug that existed related to subversion comparison. Thanks @lprimak for pointing that out!

@MattGill98
Copy link
Contributor Author

@smillidge the new changes should make this a bit more maintainable, as it no longer affects any Java 9+ versions. The only reason we'd need to update this would be for new 8u192+ breaking changes.

@MattGill98
Copy link
Contributor Author

jenkins test please

@Pandrex247 Pandrex247 merged commit ff92bde into payara:master Nov 14, 2018
@MattGill98 MattGill98 deleted the PAYARA-3247-Add-NPN-Version-Switch branch February 25, 2019 09:34
@eduarddrenth
Copy link

with todays update to openjdk version "1.8.0_252" this popped up again for 5.191. Not realy a problem for me, only sometimes use 5.191 locally, justletting you know

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants