mirror of
https://github.com/corda/corda.git
synced 2025-06-17 22:58:19 +00:00
fix SSL stack and Android JAR resource loading
This commit is contained in:
@ -529,7 +529,9 @@ public final class Class <T>
|
||||
}
|
||||
|
||||
public URL getResource(String path) {
|
||||
if (! path.startsWith("/")) {
|
||||
if (path.startsWith("/")) {
|
||||
path = path.substring(1);
|
||||
} else {
|
||||
String name = Classes.makeString
|
||||
(vmClass.name, 0, vmClass.name.length - 1);
|
||||
int index = name.lastIndexOf('/');
|
||||
|
Reference in New Issue
Block a user