WeakRef::RefError wrongly defined as ::RefError, causing lots of runtime 
warnings when using weakref
----------------------------------------------------------------------------------------------------

                 Key: JRUBY-5771
                 URL: http://jira.codehaus.org/browse/JRUBY-5771
             Project: JRuby
          Issue Type: Bug
          Components: Extensions
    Affects Versions: JRuby 1.6.1
            Reporter: Philipp Wojke
            Priority: Minor
             Fix For: JRuby 1.6.1
         Attachments: WeakRef.java, WeakRefLibrary.java

WeakRef::RefError is wrongly defined as ::RefError. This creates a runtime 
warning every time a RefError is raised:
warning: toplevel constant RefError referenced by WeakRef::RefError

Some minor changes in src/org/jruby/ext/WeakRef.java and 
src/org/jruby/ext/WeakRefLibrary.java solve the problem.
Attached are the patched files based on jruby-1.6.1 source.

-- 
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


Reply via email to