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

Key: JRUBY-1515
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Charles Oliver Nutter
Reporter: Charles Oliver Nutter
Votes: 0
Watchers: 1
Operations

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

Compiler is failing to compile files with nonstandard paths

Created: 04/Nov/07 09:44 AM   Updated: 23/Apr/08 10:03 AM
Component/s: Compiler
Affects Version/s: None
Fix Version/s: JRuby 1.1RC1

Time Tracking:
Not Specified


 Description  « Hide
A few examples that do not compile:
  • test/bench/shootout/mandelbrot.ruby - because of .ruby, resulting in shootout numbers being lower than they should be
  • ../bench/somefile.rb - because of ../

A good solution for this may be to generate a completely bogus-but-clean name for scripts AOT compiled at the command line.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Peter Brant - 05/Nov/07 12:38 AM
This is also a problem with absolute Windows paths (e.g. C:\Temp\something.rb).

Niels Bech Nielsen - 08/Nov/07 08:56 AM
I think this relates to the same problem in 1546?

Charles Oliver Nutter - 20/Dec/07 12:30 PM
I resolved this with some additional name-mangling refactoring and now have the compiler running in "force" mode for a number of continuous integration builds. All file paths should be composed into appropriate class names now. They're a little verbose, but that's a separate issue.