-
Notifications
You must be signed in to change notification settings - Fork 1
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
[BUG] -XX:+UseContainerSupport not present in $JAVA_TOOL_OPTIONS for JAVA_VERSION >= 20 #306
Comments
Hi @greghuc! Thanks for opening this issue! You're absolutely right, this is not intentional. However, Ultimately, the buildpack shouldn't set I will keep this issue open to track that process. Let me know if you have further input or questions, happy to discuss! :) |
Hi @Malax That all makes sense. Thanks for the update! |
Hi there
I just noticed that -XX:+UseContainerSupport is not present in $JAVA_TOOL_OPTIONS for my app running JAVA_VERSION="22.0.1" (this is the exact line in $JAVA_HOME/release file)
Eyeballing the code, this grep in jvmcommon.sh looks like it breaks for a JAVA_VERSION >= 20, since the regex only handles JAVA_VERSION=10..19
I presume this is a bug, rather than intentional?
Thanks
Greg
The text was updated successfully, but these errors were encountered: