-
-
Notifications
You must be signed in to change notification settings - Fork 942
Description
Environment
Provide at least:
- JRuby version:
jruby 9.1.10.0 (2.3.3) 2017-05-25 b09c48a Java HotSpot(TM) 64-Bit Server VM 25.131-b11 on 1.8.0_131-b11 +jit [darwin-x86_64]
- Operating system and platform:
Darwin Avis-Imprudence.local 16.6.0 Darwin Kernel Version 16.6.0: Fri Apr 14 16:21:16 PDT 2017; root:xnu-3789.60.24~6/RELEASE_X86_64 x86_64
Description
I’m having a problem with JRuby 9.1.9.0 and 9.1.10.0; when I run my test suite, I get a bunch of output like this before my tests run:
syntax error, unexpected end-of-file
irrecoverable syntax error at end-of-file
Exception `Sorcerer::Resource::NotSexpError' at /Users/pavi/.rbenv/versions/jruby-9.1.10.0/lib/ruby/gems/shared/gems/sorcerer-1.0.2/lib/sorcerer/resource.rb:77 - Not an S-EXPER: nil
syntax error, unexpected end-of-file
…I might get 8 or 9 of these print out if I run a small test file, and ~100 if I run my entire test suite.
Clearly the exception is happening in Sorcerer, and looking at my Gemfile.lock it’s clear that Sorcerer is being used by given_core which is used by minitest-given — together those two gems provide the testing DSL I’m using and adapt the DSL to minitest, which I’m using to run the tests.
The thing is, none of these gems have changed for a good while. The most recent change was to given_core which I upgraded in my project back in early March. So it seems that the cause of the problem is some change in JRuby, in either 9.1.9.0 or 9.1.10.0, as when I run my test suite with the same exact code and the same exact Gemfile.lock and everything, but on JRuby 9.1.8.0 or 9.1.7.0, I don’t see this output. (In fact my project has used every version of JRuby since 9.0.5.0 — I try to keep up with releases — and this is the first time I’ve seen this problem.)
I apologize I can’t supply any test code to reproduce; I’m hoping the stack trace above might be enough of a clue to at least start looking into this.
(Any chance this might be related to #4574?)
Thank you!