JuliaInterop / JavaCall.jl

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

Try more registry paths on Windows before failing. #109

Closed dourouc05 closed 4 years ago

dourouc05 commented 4 years ago

Solves #98.

dourouc05 commented 4 years ago

All tests pass locally with Julia 1.3.0 x64, Windows 10, and JDK 14.

               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.3.0 (2019-11-26)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

julia> using JavaCall
[ Info: Precompiling JavaCall [494afd89-becb-516b-aafa-70d2670c0337]

julia> JavaCall.init()

(v1.3) pkg> test JavaCall
   Testing JavaCall
 Resolving package versions...
    Status `C:\Users\Thibaut\AppData\Local\Temp\jl_BSANAC\Manifest.toml`
  [864edb3b] DataStructures v0.17.10
  [494afd89] JavaCall v0.7.3 [`C:\Users\Thibaut\.julia\dev\JavaCall`]
  [bac558e1] OrderedCollections v1.1.0
  [1b915085] WinReg v0.3.1
  [2a0f44e3] Base64  [`@stdlib/Base64`]
  [ade2ca70] Dates  [`@stdlib/Dates`]
  [8ba89e20] Distributed  [`@stdlib/Distributed`]
  [b77e0a4c] InteractiveUtils  [`@stdlib/InteractiveUtils`]
  [8f399da3] Libdl  [`@stdlib/Libdl`]
  [56ddb016] Logging  [`@stdlib/Logging`]
  [d6f4376e] Markdown  [`@stdlib/Markdown`]
  [de0858da] Printf  [`@stdlib/Printf`]
  [9a3f8284] Random  [`@stdlib/Random`]
  [9e88b42a] Serialization  [`@stdlib/Serialization`]
  [6462fe0b] Sockets  [`@stdlib/Sockets`]
  [8dfed614] Test  [`@stdlib/Test`]
  [4ec0a83e] Unicode  [`@stdlib/Unicode`]
Test Summary:  | Pass  Total
initialization |    1      1
[ Info: ("Java Version: ", "14")
Test Summary:    | Pass  Total
unsafe_strings_1 |    3      3
In Java, recd: 10
In Java, recd: 10
In Java, recd: 10
In Java, recd: 2147483647
In Java, recd: 9223372036854775807
In Java, recd: Hello Java
In Java, recd: 10.02
In Java, recd: 10.02
In Java, recd: 1.7976931348623157E308
In Java, recd: 3.4028235E38
In Java, recd: null
Test Summary:       | Pass  Total
parameter_passing_1 |   12     12
Test Summary:        | Pass  Total
static_method_call_1 |    3      3
Test Summary:              | Pass  Total
static_method_call_async_1 |    3      3
Test Summary:      | Pass  Total
instance_methods_1 |    3      3
Test Summary: | Pass  Total
null_1        |    1      1
Test Summary: | Pass  Total
arrays_1      |   14     14
Test Summary: | Pass  Total
dates_1       |    6      6
Test Summary:    | Pass  Total
map_conversion_1 |    1      1
Test Summary:           | Pass  Total
array_list_conversion_1 |    1      1
Test Summary:   | Pass  Total
inner_classes_1 |    8      8
Test Summary: | Pass  Total
sinx_1        |    2      2
Test Summary:  | Pass  Total
method_lists_1 |    9      9
Test Summary: | Pass  Total
double_free_1 |  100    100
Test Summary:       | Pass  Total
array_conversions_1 |    1      1
Test Summary:          | Pass  Total
iterator_conversions_1 |   11     11
Test Summary:      | Pass  Total
roottask_and_env_1 |    4      4
   Testing JavaCall tests passed