-
-
Notifications
You must be signed in to change notification settings - Fork 942
Closed
Milestone
Description
https://github.com/sass/sassc-ruby
Environment Information
Provide at least:
jruby 10.0.2.0-SNAPSHOT (3.4.2) 2025-08-07 0e417ef OpenJDK 64-Bit Server VM 21.0.8+9-Ubuntu-0ubuntu122.04.1 on 21.0.8+9-Ubuntu-0ubuntu122.04.1 +indy +jit [x86_64-linux]
Linux DESKTOP-U60MURJ 5.15.90.1-microsoft-standard-WSL2 #1 SMP Fri Jan 27 02:56:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Expected Behavior
MRI doesn't crash, tests used to pass with JRuby 9.4.x.x
It’s likely a regression caused by the array optimizations 13705d5
Actual Behavior
SassC::EngineTest#test_variables:
ArgumentError: array size too big
org/jruby/ext/ffi/AbstractMemory.java:1936:in 'get_array_of_string'
/home/ahorek/test/sassc-ruby/lib/sassc/native.rb:51:in 'return_string_array'
/home/ahorek/test/sassc-ruby/lib/sassc/native/native_context_api.rb:141:in 'context_get_included_files'
/home/ahorek/test/sassc-ruby/lib/sassc/engine.rb:55:in 'render'
/home/ahorek/test/sassc-ruby/test/engine_test.rb:10:in 'render'
/home/ahorek/test/sassc-ruby/test/engine_test.rb:47:in 'test_variables'
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels