mirror of
https://github.com/corda/corda.git
synced 2025-06-13 04:38:19 +00:00
break each Class, Field, and Method into separate classes
In order to facilitate making the VM compatible with multiple class libraries, it's useful to separate the VM-specific representation of these classes from the library implementations. This commit introduces VMClass, VMField, and VMMethod for that purpose.
This commit is contained in:
@ -94,13 +94,12 @@ public abstract class ResourceBundle {
|
||||
}
|
||||
|
||||
public static ResourceBundle getBundle(String name, Locale locale) {
|
||||
return getBundle(name, locale,
|
||||
Method.getCaller().getDeclaringClass().getClassLoader());
|
||||
return getBundle(name, locale, Method.getCaller().class_.loader);
|
||||
}
|
||||
|
||||
public static ResourceBundle getBundle(String name) {
|
||||
return getBundle(name, Locale.getDefault(),
|
||||
Method.getCaller().getDeclaringClass().getClassLoader());
|
||||
return getBundle
|
||||
(name, Locale.getDefault(), Method.getCaller().class_.loader);
|
||||
}
|
||||
|
||||
public Object getObject(String key) {
|
||||
|
Reference in New Issue
Block a user