
| Key: |
JRUBY-1249
|
| Type: |
Test
|
| Status: |
Closed
|
| Resolution: |
Fixed
|
| Priority: |
Minor
|
| Assignee: |
Unassigned
|
| Reporter: |
Stuart Halloway
|
| Votes: |
0
|
| Watchers: |
0
|
|
If you were logged in you would be able to see more operations.
|
|
|
| Testcase included: |
yes
|
| Patch Submitted: |
Yes
|
I am trying to get rid of this console noise when running the unit tests:
{{
[junit] ./test/testStruct.rb:91 warning: redefining constant Struct::Post
[junit] ./test/testStruct.rb:98 warning: redefining constant Struct::MyStruct
}}
I have added a patch which works for MRI, but not JRuby. Is this a bug, or a deliberate/necessary different in how stdout works in JRuby?
|
|
Description
|
I am trying to get rid of this console noise when running the unit tests:
{{
[junit] ./test/testStruct.rb:91 warning: redefining constant Struct::Post
[junit] ./test/testStruct.rb:98 warning: redefining constant Struct::MyStruct
}}
I have added a patch which works for MRI, but not JRuby. Is this a bug, or a deliberate/necessary different in how stdout works in JRuby? |
Show » |
Sort Order:
made changes - 29/Jul/07 10:19 PM
| Field |
Original Value |
New Value |
|
Status
|
Open
[ 1
]
|
Resolved
[ 5
]
|
|
Resolution
|
|
Fixed
[ 1
]
|
made changes - 23/Apr/08 10:12 AM
|
Affects Version/s
|
JRuby 1.1+
[ 13421
]
|
|
|
Affects Version/s
|
|
JRuby 1.1
[ 13990
]
|
made changes - 23/Apr/08 10:14 AM
|
Fix Version/s
|
JRuby 1.1+
[ 13421
]
|
|
|
Fix Version/s
|
|
JRuby 1.1
[ 13990
]
|
made changes - 23/Apr/08 10:16 AM
|
Status
|
Resolved
[ 5
]
|
Closed
[ 6
]
|
|
Nevermind about the MRI difference – tired brain. Working the same everywhere, once Nick pointed out that I needed to Recording::stderr instead of stdout.