Skip to content

picnic breaking -XepDisableAllWarnings #5365

Open

Description

@Pankraz76
java.lang.UnsupportedClassVersionError: com/google/errorprone/ErrorProneJavacPlugin has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 61.0

somehow picnic causing the spam and not being muted when the switch -XepDisableAllWarnings is on.

Also the bump to v.44 causing jdk compiling issue which seems strange considering patch scope.

Activity

  1. cushon commented on Nov 21, 2025

    @cushon
    Collaborator

    somehow picnic causing the spam and not being muted when the switch -XepDisableAllWarnings is on.

    From diffplug/spotless#2745 and diffplug/spotless#2754 it sounds like -XepDisableAllWarnings was not previously being used in that build. Are you saying that after enabling it, the picnic checks are still reporting warnings that should up in the build log?

    ErrorProneJavacPlugin has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 61.0

    Also the bump to v.44 causing jdk compiling issue which seems strange considering patch scope.

    The minimum supported JDK version to run Error Prone is JDK 21 as of Error Prone 2.43.0, see https://github.com/google/error-prone/releases/tag/v2.43.0

  2. Pankraz76 commented on Nov 21, 2025

    @Pankraz76
    Author

    the picnic checks are still reporting warnings that should up in the build log?

    exact. They seem to sneak through. When removing picnic and the parameter i still see some MissingOverride warnings, that come from core-prone.

    They are gone when the param is back on and picnic is gone.

  3. cushon commented on Nov 21, 2025

    @cushon
    Collaborator

    Can you provide a minimal self-contained repro?

    Note that picnic is an extension of Error Prone, it is a separate project: https://error-prone.picnic.tech/

  4. Pankraz76 commented on Nov 21, 2025

    @Pankraz76
    Author

    one way is to checkout the dedicated PR and enable picnic again to see.

    b3090bd3c5dd941459eefdfc37a66d463ffcd17c

  5. cushon commented on Nov 21, 2025

    @cushon
    Collaborator

    It isn't clear if this is a bug in Error Prone, or picnic, or a configuration issue with that specific build. If you are able to extract a minimal self-contained repro that demonstrates the problem is in Error Prone, it's more likely that the maintainers of this project will be able to help.

  6. Pankraz76 commented on Nov 21, 2025

    @Pankraz76
    Author

    It isn't clear if this is a bug in Error Prone, or picnic, or a configuration issue with that specific build. If you are able to extract a minimal self-contained repro that demonstrates the problem is in Error Prone, it's more likely that the maintainers of this project will be able to help.

    yes, will try to provide this.

    Thanks for the kind support.

    The minimum supported JDK version to run Error Prone is JDK 21 as of Error Prone 2.43.0, see https://github.com/google/error-prone/releases/tag/v2.43.0

    This seems to be a new challenge for gradle and spot as well. @ov7a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions