Set toplevel module #4431

merged 2 commits into from Jan 9, 2017


None yet

2 participants

headius commented Jan 9, 2017

This includes a fix for #4416 (setting top-level module when running with -X+C) and enables the test:jruby:aot suite to verify the AOT mode.

headius added some commits Jan 9, 2017
@headius headius When precompiling loaded files, set top-level module. Fixes #4416.
The logic that precompiles a 'load'ed or 'require'd file did not
ever call setModule or determineModule on the root scope for that
script body. This caused module definitions to blow up, since they
had no containing scope in which to define the new module.
@headius headius Add test:jruby:aot to travis. 101887c
@headius headius added the jit label Jan 9, 2017
@headius headius added this to the JRuby milestone Jan 9, 2017
@headius headius merged commit 2d090fb into jruby:master Jan 9, 2017

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
@headius headius deleted the headius:set-toplevel-module branch Jan 9, 2017
kares commented Jan 10, 2017

excellent, wanted to add test:jruby:aot as well :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment