Skip to content

Conversation

@byroot
Copy link
Member

@byroot byroot commented Dec 11, 2025

While it's not allowed by the spec, some parsers like Oj do accept it, and it can be blocking a transition.

Having this feature can help people migrate.

While it's not allowed by the spec, some parsers like Oj do
accept it, and it can be blocking a transition.

Having this feature can help people migrate.
@byroot byroot force-pushed the unescaped-newlines branch from 51e0cde to c629764 Compare December 11, 2025 10:45

@JRubyMethod(visibility = Visibility.PRIVATE)
public IRubyObject initialize(ThreadContext context, IRubyObject options) {
checkFrozen();
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cc @etiennebarrie I think that was your JRuby issue. You added checkFrozen in the generated .java file, so it was erased on CI.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah nice catch! Thanks for fixing.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@byroot byroot merged commit 3459499 into ruby:master Dec 11, 2025
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants