aboutsummaryrefslogtreecommitdiff
path: root/source/lux/host/jvm.lux
diff options
context:
space:
mode:
authorEduardo Julian2015-09-02 08:11:14 -0400
committerEduardo Julian2015-09-02 08:11:14 -0400
commita0eb061edbbb8bca666add620e4c82c4f3bc5fdc (patch)
tree8528f1020939a01bd5217a747268480e7ad8e67c /source/lux/host/jvm.lux
parentf270a49ce40829dc28c6254d7ed4eeb19f360f59 (diff)
- Added a new (albeit small) I/O library with host-dependent functions.
Diffstat (limited to 'source/lux/host/jvm.lux')
-rw-r--r--source/lux/host/jvm.lux2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lux/host/jvm.lux b/source/lux/host/jvm.lux
index 7a564826c..eddedfdc5 100644
--- a/source/lux/host/jvm.lux
+++ b/source/lux/host/jvm.lux
@@ -247,4 +247,4 @@
(defsyntax #export (try$ expr)
(emit (@list (` (try (#;Right (~ expr))
(~ (' (catch java.lang.Exception e
- (#;Left (.! (getMessage [] []) e))))))))))
+ (#;Left (_jvm_invokevirtual "java.lang.Throwable" "getMessage" [] e []))))))))))