Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IllegalArgumentException under Java 1.8 #11

Open
jgaskins opened this issue Jun 27, 2014 · 1 comment
Open

IllegalArgumentException under Java 1.8 #11

jgaskins opened this issue Jun 27, 2014 · 1 comment

Comments

@jgaskins
Copy link

Using a fresh RVM-installed JRuby on a fresh JDK 1.8 installation on OS X Mavericks, I received this error:

➜  Code  mirah fib.mirah
java/lang/reflect/Constructor.java:408:in `newInstance': java.lang.IllegalArgumentException
    from /Users/jamie/.rvm/gems/jruby-1.7.13/gems/bitescript-0.1.4/lib/bitescript/mirror.rb:208:in `load'

Full backtrace here. I'm posting it here rather than on the Mirah project because the exception happened from within a bitescript file; I hope that's okay.

The contents of fib.mirah don't matter — it gave the same exception regardless of what it had in it. It didn't even work with -e.

Relevant versions:

➜  Code  uname -a
Darwin husker.home 13.2.0 Darwin Kernel Version 13.2.0: Thu Apr 17 23:03:13 PDT 2014; root:xnu-2422.100.13~1/RELEASE_X86_64 x86_64
➜  Code  java -version
java version "1.8.0_05"
Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)
➜  Code  jruby -v
jruby 1.7.13 (1.9.3p392) 2014-06-24 43f133c on Java HotSpot(TM) 64-Bit Server VM 1.8.0_05-b13 +indy [darwin-x86_64]
➜  Code  mirah -v
Mirah v0.1.2
@baroquebobcat
Copy link
Collaborator

It's fine to post it here. The next release of Mirah won't be using bitescript anymore as it'll be completely self hosted.

I'm guessing it's fairly straightforward, but I don't have much time to look at it right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants