mirror of
https://github.com/corda/corda.git
synced 2025-06-13 12:48:18 +00:00
rename package avian.avian_vm_resource to avian.avianvmresource
This package name must match the URL protocol we use for loading embedded resources, but OpenJDK's URL class won't tolerate underscores in a protocol name. Also, I had not updated the names of the native methods in avian.avianvmresource.Handler, leading to UnsatisfiedLinkErrors when they were called.
This commit is contained in:
@ -83,8 +83,8 @@ public final class URL {
|
||||
{
|
||||
if ("http".equals(protocol) || "https".equals(protocol)) {
|
||||
return new avian.http.Handler();
|
||||
} else if ("avian_vm_resource".equals(protocol)) {
|
||||
return new avian.avian_vm_resource.Handler();
|
||||
} else if ("avianvmresource".equals(protocol)) {
|
||||
return new avian.avianvmresource.Handler();
|
||||
} else if ("file".equals(protocol)) {
|
||||
return new avian.file.Handler();
|
||||
} else if ("jar".equals(protocol)) {
|
||||
|
Reference in New Issue
Block a user