-
Notifications
You must be signed in to change notification settings - Fork 45
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
IncorrectInternalClassUse
throws a ClassFormatException
after upgrading to Spotbugs 6.0.3
#456
Comments
IncorrectInternalClassUse
throws a ClassFormatException
after upgrading from 6.0.2 to 6.0.4IncorrectInternalClassUse
throws a ClassFormatException
after upgrading to Spotbugs 6.0.4
is it possible to get the .classfile for the problematic class? What version of java was the target class compiled in? |
@mebigfatguy When you say "problematic class", do you mean the class being analyzed, i.e. |
yes com.example.MyClass, probably related to jdk21 |
IncorrectInternalClassUse
throws a ClassFormatException
after upgrading to Spotbugs 6.0.4IncorrectInternalClassUse
throws a ClassFormatException
after upgrading to Spotbugs 6.0.3
@mebigfatguy I added the following trivial class to my project package com.example;
public class MyClass {
} I ran Spotbugs and confirmed that the error occurs for this class (it seems to occur for every analysed class).
I've attached MyClass.class file to this comment. I had to add it as a .zip archive because GitHub doesn't allow .class file attachments. |
targetted for 7.6.4 |
I upgraded the Spotbugs Gradle plugin from 6.0.2 to 6.0.3. After the upgrade I ran the checks, and I now get a lot of these exceptions (one for every class analysed, I think)
I'm using v7.6.3 of sb-contrib.
The text was updated successfully, but these errors were encountered: