Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow freezing of NativeJavaObject and subclasses #1541

Closed

Commits on Jul 29, 2024

  1. Allow freezing of NativeJavaObject and subclasses

    Rhino allows to invoke `Object.freeze` for any `ScriptableObject`, but
    does not allow it for `NativeJavaObject` and its various subclasses.
    Furthermore, there is no Java API that can be invoked to obtain that
    effect. This commit adds a new API `NativeJavaObject::freezeObject`
    and allows `Object.freeze` to work with all implementations of
    `NativeJavaObject`.
    andreabergia committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    ad8da61 View commit details
    Browse the repository at this point in the history