pzygielo commented on pull request #72:
URL: https://github.com/apache/maven-wagon/pull/72#issuecomment-670029018


   @chrisbeckey 
   > Just to be sure I tested it with "1.11" and with "11" and they both worked.
   
   Yeah, but why it did?
   
   I think that 1.11 works only because when 
   ```
   [DEBUG] Detected Java String: '11.0.8'
   [DEBUG] Normalized Java String: '11.0.8'
   ```
   normalized string is tested against range `[1.11,)` - it is accepted due to 
11 (of `11.0.8`) being greater than 1 of (`1.11`).
   
   I am pretty sure it shall be `[11,)`, as you see, with `[1.11,)` for example 
JDK 10 is also accepted (as `10 > 1`).


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to