Skip to content

Conversation

@lzhou2025
Copy link
Member

@lzhou2025 lzhou2025 commented Nov 11, 2025

Dynamic Proxy names are assigned in OpenJDK according to the order of the method Proxy.newProxyInstance() invoked from applications. It's problem in restore run, because the order of the method Proxy.newProxyInstance() invoked from applications may be changed on conditions or events and the class lookup by the names of $ProxyN {0...n} from RCP cache may be wrong result. The changes are proposed to remove the classes along with unsafe classes from RCP cache.

Fixes: #22841

Co-authored-by: Tobi Ajila tobi_ajila@ca.ibm.com

@lzhou2025 lzhou2025 marked this pull request as ready for review November 12, 2025 13:29
Dynamic Proxy names are assigned in OpenJDK according to the order of the method Proxy.newProxyInstance() invoked from applications. It's problem in restore run, because the order of the method Proxy.newProxyInstance() invoked from applications may be changed on conditions or events and the class lookup by the names of $ProxyN {0...n} from RCP cache may be wrong result. The changes are proposed to remove the classes along with unsafe classes from RCP cache. Fixes: eclipse-openj9#22841 Co-authored-by: Tobi Ajila tobi_ajila@ca.ibm.com
@lzhou2025 lzhou2025 changed the title RAM Class Persistence: rename dynamic Proxy classes RAM Class Persistence: Remove dynamic Proxy classes from RCP cache Nov 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant