Skip to content

Conversation

@bulasevich
Copy link
Contributor

@bulasevich bulasevich commented Nov 10, 2025

This PR backports:

Conflicts: There were no conflicts.

Minor checkstyle fix: align lambda body and remove redundant empty comment line.

        HostAccess access = HostAccess.newBuilder(HostAccess.EXPLICIT)//
                        .targetTypeMapping(Value.class, Object[].class, (v) -> targetMappingEnabled.get() && v.isHostObject() && v.asHostObject() == testArray, (v) -> {
                            if (targetMappingEnabled.get()) {
                                return new Object[1];
                            } else {
                                throw new ClassCastException();
                            }
                        })//
                        .build();

Closes: #220

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Nov 10, 2025
(cherry picked from commit 1b545dcab15dba58c413c39a5d80805c29f8ddcb)
@bulasevich bulasevich marked this pull request as ready for review November 12, 2025 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Backport] [Oracle GraalVM] [GR-66583] Backport to 23.1: Suspicious caching of asVarArgs in HostExecuteNode.doVarArgs()

3 participants