Skip to content

JEP 512 Support not working when main method is static and package private #494

@altaiezior

Description

@altaiezior

In 3.6.0 JEP 512 support has been added but it doesn't work when the main method is static but package private

We get IllegalAccessException because the method is package-private which can be resolved by dropping support for 1.8 and using privateLookupIn

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions