Issue Type: Bug Bug
Affects Versions: JRuby 1.7.0.pre2, JRuby 1.6.7
Assignee: Thomas E Enebo
Created: 28/Aug/12 8:31 AM
Description:

There seems to be a parsing bug in JRuby when the first line of a Ruby file is very long (~8000 characters or more). I created a gist with an example file here: https://gist.github.com/3497860 The first line creates a long array of hashes. Depending on how long the first line is or what the subsequent line is I'll see different errors such as SyntaxErrors or NameErrors. I saw on my system when the second line was very short the program would complete without any errors or output. This all seems to be related to a parse problem. If you remove one hash from the array then it parses correctly. I tried a few variants of the file on MRI and I couldn't reproduce the problem there.

Environment: Mac 10.7.4 with rvm 1.15.5
Project: JRuby
Priority: Minor Minor
Reporter: Jason Gilman
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
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