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

Key: JRUBY-1666
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

JRuby needs a test target that attempts to compile all stdlib files, to confirm compiler is at least that complete and not blowing up

Created: 04/Dec/07 06:13 PM   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
I broke instance variable assignment at some point, and without a task that tries to compile (and fails if something's broken) we would never know it. We need a test that tries to compile everything in stdlib and fails if it cannot. We also need tests that try to compile all our test scripts and run them in a compiled state. This must happen ASAP.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Charles Oliver Nutter - 20/Dec/07 11:39 AM
I resolved this in two parts:
  1. the build now attempts to compile all stdlib files, which in the case of a failing class would not verify
  2. there are new targets that run JRuby with the compiler in "force" mode, causing all files to compile completely before executing and failing fast if anything does not compile.

The FORCE targets run as part of the CI run (test-all target). The two items combined should prevent any major, ugly compiler regressions in the future.