java private methods are accessible
-----------------------------------
Key: JRUBY-5106
URL: http://jira.codehaus.org/browse/JRUBY-5106
Project: JRuby
Issue Type: Bug
Environment: jruby 1.5.1 (ruby 1.8.7 patchlevel 249) (2010-06-06
f3a3480) (Java HotSpot(TM) Client VM 1.6.0_18) [x86-java]
Reporter: Roger Pack
Assignee: Thomas E Enebo
Hi. Sorry if this is a dup.
Noticed that when using jruby to script java, private java methods show up as
(basically) ruby-wise public methods, which can cause a bit of confusion since
they typically shouldn't be called by themselves.
I suppose it would be useful to still call them through some means, however...
suggestion: list them as "private" ruby methods or what not.
couple of refs:
http://www.ruby-forum.com/topic/214358
http://www.ruby-forum.com/topic/176378#new
--
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