Skip to content

Commit

Permalink
Merge pull request #274 from bskaarup/master
Browse files Browse the repository at this point in the history
Ability to handle java version with period sign instead of underscore…
  • Loading branch information
samskivert authored Dec 22, 2023
2 parents 792f0a1 + de18274 commit 917b7c3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1785,7 +1785,7 @@ protected static String encodePath (String path)
protected int _trackingId;

protected String _javaVersionProp = "java.version";
protected String _javaVersionRegex = "(\\d+)(?:\\.(\\d+)(?:\\.(\\d+)(_\\d+)?)?)?";
protected String _javaVersionRegex = "(\\d+)(?:\\.(\\d+)(?:\\.(\\d+)([_.]\\d+)?)?)?";
protected long _javaMinVersion, _javaMaxVersion;
protected boolean _javaExactVersionRequired;
protected String _javaLocation;
Expand Down

0 comments on commit 917b7c3

Please sign in to comment.