Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.0.0RC2
-
Fix Version/s: JRuby 1.0.2, JRuby 1.1b1
-
Component/s: Core Classes/Modules
-
Labels:None
-
Environment:OS X 10.4.9, Java 1.5, JRuby rev 3672
-
Number of attachments :
Description
This is valid in MRI:
fh = File.new(STDOUT.fileno, 'r')
Currently JRuby raises a TypeError, expecting a String only.
Along with other file descriptor stuff, if this is possible we should fix it.