Skip to content

Commit 50c4146

Browse files
committed
Fix version handling
1 parent f7786a9 commit 50c4146

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/runtests.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ m = listmethods(JString("test"), "indexOf")[1]
152152
@test getname(getreturntype(m)) == "int"
153153

154154
v=jcall(@jimport("java.lang.System"), "getProperty", JString, (JString,), "java.version")
155+
v=replace(v, '_', '-')
155156
java_ver = macroexpand(:(@v_str($v)))
156157

157158
#Order of methods is different in JDK 9

0 commit comments

Comments
 (0)