-
Notifications
You must be signed in to change notification settings - Fork 84
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
JAVA_DIAGNOSTICS for s2i java 11 image uses deprecated and removed JVM options #213
Comments
@vorburger I guess we need to updatre run-java.sh for this, right ? I.e. we probably need a version detection in this startup script. |
@muff1nman but that's just a warning, it "works" anyway - or doesn't it for you? Curious. Would you (@muff1nman) be willing to contribute a PR to https://github.com/fabric8io-images/run-java-sh (perhaps inspired by https://github.com/fabric8io-images/run-java-sh/pull/73/files) which does the trick?
yeah I guess, but in run-java-sh? From a (quick) look, it would seem that https://github.com/fabric8io-images//pull/73/files already added a |
BTW, I just submitted #214 which updates run-java.sh to not calculated defaults when running on Java 11. |
Inspired by fabric8io-images#212 and found this very useful for fabric8io-images#213
yup, I could (still, so not fixed by #214) reproduce this bug like this. So we need a if(Java 11) similar to run-java-sh/pull/73/ also here in run-java.sh ... Who would be willing to have a closer look at which of Some of these options perhaps can / need to be replaced with something else now, or (which of them exactly?) should just be skipped, and raise a PR against run-java-sh for it? Then we'll need a new release of https://github.com/fabric8io-images/run-java-sh and a bump to it here (like in #214) and then a rebase #216 which should then pass. |
Yeah, would be interesting which option combo to use for diagnostics for Java 11. Unfortunately, I'm overloaded, but if someone finds out a good combination and creates a PR for run-java.sh I can do a release and rebase quickly. |
I have opened a potential PR, but my biggest concern is that I want to be able to override the
The options for overriding
|
Options such as PrintGCDateStamps are no longer valid.
The text was updated successfully, but these errors were encountered: