diff options
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/lux/target/jvm/loader.lux | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/stdlib/source/lux/target/jvm/loader.lux b/stdlib/source/lux/target/jvm/loader.lux index 14c19bb86..74bfabc44 100644 --- a/stdlib/source/lux/target/jvm/loader.lux +++ b/stdlib/source/lux/target/jvm/loader.lux @@ -36,25 +36,31 @@ ["Error" error])) (import: java/lang/Object - (getClass [] (java/lang/Class java/lang/Object))) + ["#::." + (getClass [] (java/lang/Class java/lang/Object))]) (import: java/lang/String) (import: java/lang/reflect/Method - (invoke [java/lang/Object [java/lang/Object]] #try java/lang/Object)) + ["#::." + (invoke [java/lang/Object [java/lang/Object]] #try java/lang/Object)]) (import: (java/lang/Class a) - (getDeclaredMethod [java/lang/String [(java/lang/Class [? < java/lang/Object])]] java/lang/reflect/Method)) + ["#::." + (getDeclaredMethod [java/lang/String [(java/lang/Class [? < java/lang/Object])]] java/lang/reflect/Method)]) (import: java/lang/Integer - (#static TYPE (java/lang/Class java/lang/Integer))) + ["#::." + (#static TYPE (java/lang/Class java/lang/Integer))]) (import: java/lang/reflect/AccessibleObject - (setAccessible [boolean] void)) + ["#::." + (setAccessible [boolean] void)]) (import: java/lang/ClassLoader - (loadClass [java/lang/String] - #io #try (java/lang/Class java/lang/Object))) + ["#::." + (loadClass [java/lang/String] + #io #try (java/lang/Class java/lang/Object))]) (with-expansions [<elemT> (as-is (java/lang/Class java/lang/Object))] (def: java/lang/ClassLoader::defineClass |