JVM -ea flag with BSF integration throws exception
--------------------------------------------------
Key: JRUBY-1349
URL: http://jira.codehaus.org/browse/JRUBY-1349
Project: JRuby
Issue Type: Bug
Components: Java Integration
Affects Versions: JRuby 1.0.1
Environment: Mac OS X and Linux, Java JDK 1.5
Reporter: Dean Wampler
Attachments: ErrorWithEAJVMFlag.java
The attached Java file demonstrates that an exception is thrown when invoking
BSF, if you run it with "java -ea ...". The exception is thrown when
BSFManager.loadScriptingEngine() is called. If you run the same class file with
the -ea flag, no exception is thrown
I discovered this because I routinely use the -ea flag in JUnit runs in my ant
builds. I believe this is a JRuby bug, rather than a BSF bug, because a similar
application using Groovy didn't have the same behavior.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email