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:
Joel Dice
2012-10-06 15:33:24 -06:00
parent 7946aaf48f
commit a3c4b60f43
6 changed files with 14 additions and 12 deletions

View File

@ -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)) {