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.
Small followup on #63 and #64
Despite https://openjdk.java.net/jeps/223 officially deprecating 1.x schemes, we should be permissive here to avoid crashes.
For instance, in Jenkins the version in use is
1.${java.level}
.https://github.com/jenkinsci/plugin-pom/blob/master/pom.xml#L522
So supporting both formats will avoid unnecessary headaches around. We'll see possibly in the future to stop supporting this when the oldest line is >=9 and no more 1.x format can exist.
cc @jenkinsci/java11-support