JDK-8320255 : Add method to java.lang.Class to find main method
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.lang:reflect
  • Affected Version: 22
  • Priority: P4
  • Status: Closed
  • Resolution: Rejected
  • Submitted: 2023-11-16
  • Updated: 2025-05-16
  • Resolved: 2025-05-16
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.
JDK 25
25Resolved
Related Reports
CSR :  
Relates :  
Description
With the protocol of a main entry point expanding, it would be helpful to have a method on java.lang.Class to perform that search.