ArgumentError exceptions raised when using multiple classes concurrently via
java.util.concurrent.ThreadPoolExecutor (example provided)
---------------------------------------------------------------------------------------------------------------------------------------
Key: JRUBY-1382
URL: http://jira.codehaus.org/browse/JRUBY-1382
Project: JRuby
Issue Type: Bug
Components: Interpreter
Affects Versions: JRuby 1.0.1
Environment: OS X 10.4.10
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-164)
Reporter: Coda Hale
Priority: Blocker
Attachments: constructor_argument_thread_safety_test_case.rb
If you have a Ruby class implementing the java.lang.Runnable interface which
creates instances of different classes of objects in its #run method,
ArgumentError exceptions will be raised complaining about arity mismatches in
the constructors of the classes. There is no arity mismatch in the source. In
my application, the stack traces for the exceptions pointed to obviously
working code; in the provided example, the exception points to
lib/jruby.jar!/builtin/javasupport/proxy/interface.rb:155, which seems equally
spurious.
--
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