-
-
Notifications
You must be signed in to change notification settings - Fork 942
Closed
Labels
Milestone
Description
The following tests from CRuby fail intermittently on JDK 19+. I have not dug deep enough to know what is failing, nor bisected OpenJDK to find what commit changed this behavior.
jruby/test/mri/ruby/test_io_m17n.rb
Lines 374 to 404 in 2d100bb
| def test_dup | |
| pipe("utf-8:euc-jp", | |
| proc do |w| | |
| w << "\u3042" | |
| w.close | |
| end, | |
| proc do |r| | |
| r2 = r.dup | |
| begin | |
| assert_equal("\xA4\xA2".force_encoding("euc-jp"), r2.read) | |
| ensure | |
| r2.close | |
| end | |
| end) | |
| end | |
| def test_dup_undef | |
| pipe("utf-8:euc-jp", { :undef=>:replace }, | |
| proc do |w| | |
| w << "\uFFFD" | |
| w.close | |
| end, | |
| proc do |r| | |
| r2 = r.dup | |
| begin | |
| assert_equal("?", r2.read) | |
| ensure | |
| r2.close | |
| end | |
| end) | |
| end |
I have no theories. I will be excluding these on JDK 19 and higher for now but we need to investigate this.
Reactions are currently unavailable