History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: JRUBY-1480
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Nick Sieger
Reporter: Nick Sieger
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
JRuby

Compare uses of $VERBOSE with MRI

Created: 26/Oct/07 11:44 AM   Updated: 22/Dec/07 06:26 AM
Component/s: Core Classes/Modules
Affects Version/s: None
Fix Version/s: JRuby 1.0.3, JRuby 1.1RC1

Time Tracking:
Not Specified


 Description  « Hide
We recently noticed different handling of $VERBOSE for #warn that was fixed in 4744, due to a misunderstanding of the meaning. $VERBOSE can apparently take true, false, or nil values, and they all mean slightly different things. Checking uses of $VERBOSE in the code base should be done to ensure we're doing the same thing as MRI.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Nick Sieger - 26/Oct/07 11:49 AM
Actually, what this comes down to is making sure we call #warn vs. #warning in the right places.

Charles Oliver Nutter - 27/Oct/07 12:39 PM
I'm sure we have lots of places where we use warn and warning incorrectly. We should rename those suckers to represent what they actually do:

warnNormal
warnVerbose

or

warn
warnWhenVerbose

or something like that. I know I'm going to forget which is which again.