Skip to content

Update main method discovery for Java 25+ (JEP 445 / 512) #25301

@lrytz

Description

@lrytz

Java 25 allows main methods to be non-static, non-public and without parameter list.

Forward-port scala/scala#11137 to the sbt bridge in Scala 3.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:jdkIssues tied to artifacts published under a particular jdkcompat:java:jepIssues corresponding to a JEP (JDK Enhancement Proposal)compat:java:jep:stableIssues corresponding to a JEP which got already delivered as a stable feature in a JDK releaseitype:bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions