Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.7.0.pre1
-
Fix Version/s: JRuby 1.7.0.pre1
-
Component/s: None
-
Labels:None
-
Environment:--1.9
-
Number of attachments :
Description
The magic comment:
# coding: ASCII-8BIT
should only be effective when the "#" is in column 1 (MRI 1.9.2). Jruby recognizes it at any arbitrary location in the line (see rubyspec/language/magic_comment_spec).
MRI 1.9.3 respects a magic comment that doesn't start in column 1.
https://gist.github.com/1542577
I'm resolving this as "Not a bug".