JuliaInterop / JavaCall.jl

Call Java from Julia
http://juliainterop.github.io/JavaCall.jl
Other
118 stars 53 forks source link

fix reduce function call #85

Closed ExpandingMan closed 5 years ago

ExpandingMan commented 5 years ago

This was broken on 1.0. Compat should take care of this in 0.6.

dfdx commented 5 years ago

The fix looks correct, but, honestly, it took me quite some time to realize what's going on here. Maybe change it to something like this?

options = collect(opts)
classpath  =  "-Djava.class.path=" * join(ccp, sep)
init(vcat(opts, classpath))

At least this way we see what parameters are passed into init().