Conversation
Starting with jdk-10+36 a date is added to the version output.
melix
left a comment
There was a problem hiding this comment.
Approved, however I think you're right about using .+. Note that there's already JDK 11 around the corner.
However we have a contributor PR that takes the same approach as yours, but actually implements the JSR pattern: #3892
So I would merge his instead of yours. Note that I think it's not the only thing we need to fix to be JDK 10 compatible. This problem in particular will raise as soon as we snapshot files compiled with JDK 10: #3770
Thanks for the pointer. Seems like that came in after mine and covers more. Will merge that one.
I am going to look at it in the next couple of days. |
|
Closing in lieu of #3892. |
Context
Starting with jdk-10+36 a date is added to the version output. The regex for the version parsing take this into consideration. We might want to think about using
.*instead and ignore whatever changes the make to the versioning scheme after the actual version number to avoid future breakage.It tried out the change manually with the following build script:
...and the following commands: