Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't index invisible muti-release classes #16667

Merged
merged 1 commit into from
Apr 21, 2021

Commits on Apr 21, 2021

  1. Don't index invisible muti-release classes

    Don't index classes that are not able to be
    loaded as the current Java version is too low.
    
    Note that if a newer JDK is used to run the
    resulting application these classes will become
    visible, however this is less likely to cause
    problems than the current situation.
    
    This is because adding invisible classes to the
    index can result in bytecode being generated which
    references these classes, which will cause startup
    to fail. The alternative of not adding them to the
    index only means that some annotation based funcationaly
    (such as CDI) won't work for those classes, but
    this seems a corner case (and the solution is to
    build with the same version you are running).
    stuartwdouglas committed Apr 21, 2021
    Configuration menu
    Copy the full SHA
    f2fa6e4 View commit details
    Browse the repository at this point in the history