[ruby-core:109867] [Ruby master Bug#18938] Backport c6aa65430fbb94651f4d15e2a976f59b5475ca19
From:
"nagachika (Tomoyuki Chikanaga)" <noreply@...>
Date:
2022-09-10 07:12:06 UTC
List:
ruby-core #109867
Issue #18938 has been updated by nagachika (Tomoyuki Chikanaga).
I tried to backport cf7d07570f50ef9c16007019afcff11ba6500d70 and c6aa65430fbb94651f4d15e2a976f59b5475ca19 into ruby_3_1 branch, but the test `test_utf8_method_names` failed. Maybe some more changesets are needed. I will investigate it further.
``` 1) Error:
TestObjSpace#test_utf8_method_names:
JSON::ParserError: 859: unexpected token at '{"address":"0x10465a248", "type":"STRING", "class":"0x101cf2450", "embedded":true, "bytesize":2, "value":"12", "encoding":"UTF-8", "file":"/Users/nagachika/opt/ruby-3.1/src/ruby_3_1/test/objspace/test_objspace.rb", "line":649, "method":"utf8_\u00ff'
/Users/nagachika/opt/ruby-3.1/src/build/.ext/common/json/common.rb:216:in `parse'
/Users/nagachika/opt/ruby-3.1/src/build/.ext/common/json/common.rb:216:in `parse'
/Users/nagachika/opt/ruby-3.1/src/ruby_3_1/test/objspace/test_objspace.rb:642:in `test_utf8_method_names'
```
----------------------------------------
Bug #18938: Backport c6aa65430fbb94651f4d15e2a976f59b5475ca19
https://bugs.ruby-lang.org/issues/18938#change-99107
* Author: byroot (Jean Boussier)
* Status: Closed
* Priority: Normal
* Backport: 2.7: DONTNEED, 3.0: REQUIRED, 3.1: REQUIRED
----------------------------------------
Please backport https://github.com/ruby/ruby/commit/c6aa65430fbb94651f4d15e2a976f59b5475ca19 which fixes a bug in `ObjectSpace.dump` for Ruby 3.0 and Ruby 3.1
Ref: https://github.com/ruby/ruby/pull/6166
cc @nobu
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>