java_requirement comment
This commit is contained in:
parent
032efdebda
commit
8ac3f23b27
@ -8,7 +8,7 @@ class JavaRequirement < Requirement
|
|||||||
# the legacy java8 cask because versions newer than Java 8 are not
|
# the legacy java8 cask because versions newer than Java 8 are not
|
||||||
# completely backwards compatible, and contain breaking changes such as
|
# completely backwards compatible, and contain breaking changes such as
|
||||||
# strong encapsulation of JDK-internal APIs and a modified version scheme
|
# strong encapsulation of JDK-internal APIs and a modified version scheme
|
||||||
# (9.0 not 1.9).
|
# (*.0 not 1.*).
|
||||||
def cask
|
def cask
|
||||||
if @version.nil? || @version.to_s.end_with?("+") ||
|
if @version.nil? || @version.to_s.end_with?("+") ||
|
||||||
@version.to_f >= JAVA_CASK_MAP.keys.max.to_f
|
@version.to_f >= JAVA_CASK_MAP.keys.max.to_f
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user