JDK-8340955 : Release Note: Experimental Hidden-Class-based Proxy Implementation
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.lang:reflect
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2024-09-25
  • Updated: 2025-01-31
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Description
In previous releases, `java.lang.reflect.Proxy` are not hidden classes, that they can be discovered by `Class.forName`. Now, a new system property, `jdk.reflect.useHiddenProxy`, has been introduced to enable a hidden-class-based implementation, which more closely resembles the intended behavior of Proxy. Users can turn on this property to adopt this implementation, which may become the sole implementation in the future.