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

Test failures with Java 21 #205

Open
vpa1977 opened this issue Feb 12, 2024 · 0 comments
Open

Test failures with Java 21 #205

vpa1977 opened this issue Feb 12, 2024 · 0 comments

Comments

@vpa1977
Copy link

vpa1977 commented Feb 12, 2024

The following tests fail when building with Java 21:

[INFO] Running com.fasterxml.classmate.TestMemberResolver
[ERROR] Tests run: 10, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.03 s <<< FAILURE! - in com.fasterxml.classmate.TestMemberResolver
[ERROR] testFilters(com.fasterxml.classmate.TestMemberResolver) Time elapsed: 0.002 s <<< FAILURE!
junit.framework.AssertionFailedError: expected:<12> but was:<13>
 at com.fasterxml.classmate.TestMemberResolver.testFilters(TestMemberResolver.java:228)

[ERROR] testIncludeObject(com.fasterxml.classmate.TestMemberResolver) Time elapsed: 0.004 s <<< FAILURE!
junit.framework.AssertionFailedError: expected:<12> but was:<13>
 at com.fasterxml.classmate.TestMemberResolver.testIncludeObject(TestMemberResolver.java:217)

[INFO] Running com.fasterxml.classmate.TestReadme
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s - in com.fasterxml.classmate.TestReadme
[INFO] Running com.fasterxml.classmate.AnnotationInclusionTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in com.fasterxml.classmate.AnnotationInclusionTest
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] AnnotationsTest.annotationsToSize:75
[ERROR] TestMemberResolver.testFilters:228 expected:<12> but was:<13>
[ERROR] TestMemberResolver.testIncludeObject:217 expected:<12> but was:<13>
[INFO]
[ERROR] Tests run: 225, Failures: 3, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant