Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "JavaCall"
uuid = "494afd89-becb-516b-aafa-70d2670c0337"
version = "0.7.2"
version = "0.7.3"

[deps]
DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
Expand Down
3 changes: 0 additions & 3 deletions REQUIRE

This file was deleted.

4 changes: 4 additions & 0 deletions src/jvm.jl
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,10 @@ end
addOpts(s::String) = isloaded() ? @warn("JVM already initialised. This call has no effect") : push!(opts, s)

function init()
if VERSION ≥ v"1.3" && get(ENV, "JULIA_COPY_STACKS", "") ∉ ("1", "yes")
@warn("JavaCall needs the environment variable `JULIA_COPY_STACKS` to be `1` or `yes`. "*
"Calling the JVM may result in undefined behavior.")
end
if isempty(cp)
init(opts)
else
Expand Down