Skip to content

afterburner tests fail for JDK 17 #186

@pjfanning

Description

@pjfanning

The CI build builds for Java 8 (ok), Java 11 (small group of failures), Java 17 (lots of afterburner fails -- possibly more issues, the build stops after the afterburner fails).

[ERROR] Failures: 
[ERROR]   MyClassLoaderTest.testLoadAndResolveTryParentSameClassTwice:33 first class should be loaded with parent class loader expected:<jdk.internal.loader.ClassLoaders$AppClassLoader@531d72ca> but was:<com.fasterxml.jackson.module.afterburner.util.MyClassLoader@46d59067>
[ERROR]   MyClassLoaderTest.testLoadAndResolveTryParentSameClassTwiceTwoThreads:71 first class should be loaded with parent class loader expected:<jdk.internal.loader.ClassLoaders$AppClassLoader@531d72ca> but was:<com.fasterxml.jackson.module.afterburner.util.MyClassLoader@5276d6ee>
[ERROR] Errors: 
[ERROR]   AfterburnerModuleJDKSerializabilityTest.testMapperWithoutUse:23->_serDeserPointWith:56 » IllegalAccess
[ERROR]   TestAccessFallback.testDeserializeAccess:65 » IllegalAccess failed to access c...
[ERROR]   TestUnwrapped.testUnwrappedDeserialize:51 » IllegalAccess failed to access cla...
[ERROR]   BasicDeserializeTest.testBigNonVoidProperty:300 » IllegalAccess failed to acce...
[ERROR]   BasicDeserializeTest.testBooleans:318 » IllegalAccess failed to access class c...
[ERROR]   BasicDeserializeTest.testEnumField:228 » IllegalAccess failed to access class ...
[ERROR]   BasicDeserializeTest.testFluentMethod:352 » IllegalAccess class com.fasterxml....
[ERROR]   BasicDeserializeTest.testIntMethod:174 » IllegalAccess failed to access class ...
[ERROR]   BasicDeserializeTest.testLongField:214 » IllegalAccess failed to access class ...
[ERROR]   BasicDeserializeTest.testMixed:259 » IllegalAccess failed to access class com....
[ERROR]   BasicDeserializeTest.testMultiIntMethod:179 » IllegalAccess failed to access c...
[ERROR]   BasicDeserializeTest.testNonVoidProperty:285 » IllegalAccess failed to access ...
[ERROR]   BasicDeserializeTest.testProblemWithIndentation:335 » IllegalAccess failed to ...
[ERROR]   BasicDeserializeTest.testStringAsObjectField:234 » IllegalAccess failed to acc...
[ERROR]   BasicDeserializeTest.testStringField:219 » IllegalAccess failed to access clas...
[ERROR]   TestBuilders.testSimpleBuilder:44 » IllegalAccess failed to access class com.f...
[ERROR]   TestCollectionDeser.testIntMethod:34 » IllegalAccess failed to access class co...
[ERROR]   TestCollectionDeser.testUnwrapSingleArray:53 » IllegalAccess failed to access ...
[ERROR]   TestCreators.testNoArgsFactory:296 » IllegalAccess failed to access class com....
[ERROR]   TestCreators2.testSingleStringCreator:329 » IllegalAccess failed to access cla...
[ERROR]   TestFinalFields.testFinalFields:50 » IllegalAccess failed to access class com....
[ERROR]   TestIssue14.testIssue:58 » IllegalAccess failed to access class com.fasterxml....
[ERROR]   TestNonStaticInner.testInnerClass:37 » IllegalAccess failed to access class co...
[ERROR]   TestStdDeserializerOverrides.testFiveMinuteDoc:63 » IllegalAccess failed to ac...
[ERROR]   TestStdDeserializerOverrides.testStringDeserOverideWithAfterburner:112 » IllegalAccess
[ERROR]   CoerceToBooleanTest.testEmptyStringFailForBooleanPrimitive:96 » IllegalAccess ...
[ERROR]   CoerceToBooleanTest.testFailFromInteger:359->_verifyFailFromInteger:425 » IllegalAccess
[ERROR]   CoerceToBooleanTest.testIntToBooleanCoercionFailBytes:257->_verifyBooleanCoerceFail:389 » IllegalAccess
[ERROR]   CoerceToBooleanTest.testIntToBooleanCoercionFailChars:269->_verifyBooleanCoerceFail:391 » IllegalAccess
[ERROR]   CoerceToBooleanTest.testIntToBooleanCoercionSuccessPojo:193 » IllegalAccess fa...
[ERROR]   CoerceToBooleanTest.testIntToEmptyCoercion:322 » IllegalAccess failed to acces...
[ERROR]   CoerceToBooleanTest.testIntToNullCoercion:299 » IllegalAccess failed to access...
[ERROR]   CoerceToBooleanTest.testIntToTryCoercion:345 » IllegalAccess failed to access ...
[ERROR]   TestFailOnPrimitiveFromNullDeserialization.testFailPrimitiveFromNull:51 » IllegalAccess
[ERROR]   TestFailOnPrimitiveFromNullDeserialization.testPassPrimitiveFromNull:38 » IllegalAccess
[ERROR]   IgnorePropertyOnDeser1217Test.testIgnoreOnProperty:33 » IllegalAccess failed t...
[ERROR]   IgnorePropertyOnDeser1217Test.testIgnoreViaConfigOverride:57 » IllegalAccess c...
[ERROR]   NullConversionsForContentTest.testFailOnNullFromDefaults:54 » IllegalAccess fa...
[ERROR]   NullConversionsForContentTest.testFailOnNullWithArrays:117 » IllegalAccess fai...
[ERROR]   NullConversionsForContentTest.testFailOnNullWithCollections:86 » IllegalAccess
[ERROR]   NullConversionsForContentTest.testFailOnNullWithMaps:164 » IllegalAccess faile...
[ERROR]   NullConversionsForContentTest.testFailOnNullWithPrimitiveArrays:138 » IllegalAccess
[ERROR]   NullConversionsForContentTest.testNullsAsEmptyUsingDefaults:215 » IllegalAccess
[ERROR]   NullConversionsForContentTest.testNullsAsEmptyWithArrays:235 » IllegalAccess f...
[ERROR]   NullConversionsForContentTest.testNullsAsEmptyWithCollections:192 » IllegalAccess
[ERROR]   NullConversionsForContentTest.testNullsAsEmptyWithMaps:277 » IllegalAccess fai...
[ERROR]   NullConversionsForContentTest.testNullsAsEmptyWithPrimitiveArrays:248 » IllegalAccess
[ERROR]   NullConversionsForContentTest.testNullsSkipUsingDefaults:307 » IllegalAccess f...
[ERROR]   NullConversionsForContentTest.testNullsSkipWithArrays:366 » IllegalAccess fail...
[ERROR]   NullConversionsForContentTest.testNullsSkipWithCollections:343 » IllegalAccess
[ERROR]   NullConversionsForContentTest.testNullsSkipWithMaps:421 » IllegalAccess failed...
[ERROR]   NullConversionsForContentTest.testNullsSkipWithOverrides:327 » IllegalAccess f...
[ERROR]   NullConversionsForContentTest.testNullsSkipWithPrimitiveArrays:387 » IllegalAccess
[ERROR]   NullConversionsGenericTest.testEmptyStringToNullToEmptyPojo:69 » IllegalAccess
[ERROR]   NullConversionsGenericTest.testNullsToEmptyArrays:102 » IllegalAccess failed t...
[ERROR]   NullConversionsGenericTest.testNullsToEmptyCollection:78 » IllegalAccess faile...
[ERROR]   NullConversionsGenericTest.testNullsToEmptyMap:92 » IllegalAccess failed to ac...
[ERROR]   NullConversionsGenericTest.testNullsToEmptyPojo:47 » IllegalAccess failed to a...
[ERROR]   NullConversionsPojoTest.testFailOnNull:53 » IllegalAccess failed to access cla...
[ERROR]   NullConversionsPojoTest.testFailOnNullWithDefaults:72 » IllegalAccess failed t...
[ERROR]   NullConversionsPojoTest.testNullsToEmptyScalar:88 » IllegalAccess failed to ac...
[ERROR]   NullConversionsSkipTest.testSkipNullField:52 » IllegalAccess failed to access ...
[ERROR]   NullConversionsSkipTest.testSkipNullMethod:66 » IllegalAccess failed to access...
[ERROR]   NullConversionsSkipTest.testSkipNullWithDefaults:86 » IllegalAccess failed to ...
[ERROR]   ProblemHandlerTest.testInstantiationExceptionHandling:329 » IllegalAccess fail...
[ERROR]   ProblemHandlerTest.testInvalidClassAsId:281 » IllegalAccess failed to access c...
[ERROR]   ProblemHandlerTest.testInvalidTypeId:271 » IllegalAccess failed to access clas...
[ERROR]   ProblemHandlerTest.testInvalidTypeIdFail:313 » IllegalAccess failed to access ...
[ERROR]   ProblemHandlerTest.testMissingClassAsId:303 » IllegalAccess failed to access c...
[ERROR]   ProblemHandlerTest.testMissingTypeId:293 » IllegalAccess failed to access clas...
[ERROR]   ProblemHandlerTest.testWeirdKeyHandling:241 » IllegalAccess failed to access c...
[ERROR]   RecursiveIgnorePropertiesTest.testRecursiveForDeser:29 » IllegalAccess failed ...
[ERROR]   TestUnknownPropertyDeserialization.testClassWithIgnoreUnknown:228 » IllegalAccess
[ERROR]   TestUnknownPropertyDeserialization.testClassWithUnknownAndIgnore:240 » IllegalAccess
[ERROR]   TestUnknownPropertyDeserialization.testIssue987:285 » IllegalAccess failed to ...
[ERROR]   TestUnknownPropertyDeserialization.testPropertyIgnoral:253 » IllegalAccess fai...
[ERROR]   TestUnknownPropertyDeserialization.testPropertyIgnoralForMap:267 » IllegalAccess
[ERROR]   TestUnknownPropertyDeserialization.testPropertyIgnoralWithClass:260 » IllegalAccess
[ERROR]   TestUnknownPropertyDeserialization.testUnknownHandlingDefault:138 » IllegalAccess
[ERROR]   TestUnknownPropertyDeserialization.testUnknownHandlingIgnoreWithFeature:185 » IllegalAccess
[ERROR]   TestUnknownPropertyDeserialization.testUnknownHandlingIgnoreWithHandler:153 » IllegalAccess
[ERROR]   TestUnknownPropertyDeserialization.testUnknownHandlingIgnoreWithHandlerAndObjectReader:168 » IllegalAccess
[ERROR]   TestUnknownPropertyDeserialization.testWithClassIgnore:197 » IllegalAccess fai...
[ERROR]   TestInjectables.testSimple:106 » IllegalAccess failed to access class com.fast...
[ERROR]   TestInjectables.testTransientField:140 » IllegalAccess failed to access class ...
[ERROR]   DefaultMethodsTest.testDeserializeViaDefault:62 » IllegalAccess failed to acce...
[ERROR]   JDKScalarsDeserTest.testBooleanPrimitive:144 » IllegalAccess failed to access ...
[ERROR]   JDKScalarsDeserTest.testCharacterWrapper:218 » IllegalAccess failed to access ...
[ERROR]   JDKScalarsDeserTest.testDoublePrimitive:317 » IllegalAccess failed to access c...
[ERROR]   JDKScalarsDeserTest.testEmptyStringForBooleanPrimitive:473 » IllegalAccess fai...
[ERROR]   JDKScalarsDeserTest.testEmptyStringForFloatPrimitives:493 » IllegalAccess fail...
[ERROR]   JDKScalarsDeserTest.testEmptyStringForFloatWrappers:465 » IllegalAccess failed...
[ERROR]   JDKScalarsDeserTest.testEmptyStringForIntegerPrimitives:479 » IllegalAccess fa...
[ERROR]   JDKScalarsDeserTest.testEmptyStringForIntegerWrappers:448 » IllegalAccess fail...
[ERROR]   JDKScalarsDeserTest.testIntPrimitive:253 » IllegalAccess failed to access clas...
[ERROR]   JDKScalarsDeserTest.testIntWithOverride:302 » IllegalAccess failed to access c...
[ERROR]   JDKScalarsDeserTest.testLongPrimitive:283 » IllegalAccess failed to access cla...
[ERROR]   JDKScalarsDeserTest.testNullForPrimitivesDefault:508 » IllegalAccess failed to...
[ERROR]   JDKScalarsDeserTest.testNullForPrimitivesNotAllowedFP:569 » IllegalAccess fail...
[ERROR]   JDKScalarsDeserTest.testNullForPrimitivesNotAllowedInts:531 » IllegalAccess fa...
[ERROR]   JDKScalarsDeserTest.testNullForPrimitivesNotAllowedMisc:591 » IllegalAccess fa...
[ERROR]   JDKScalarsDeserTest.testVoidDeser:678 » IllegalAccess failed to access class c...
[ERROR]   CollectionMergeTest.testCollectionMerging:62 » IllegalAccess failed to access ...
[ERROR]   CollectionMergeTest.testEnumSetMerging:96 » IllegalAccess failed to access cla...
[ERROR]   CollectionMergeTest.testListMerging:70 » IllegalAccess failed to access class ...
[ERROR]   MapMergeTest.testMapMerging:36 » IllegalAccess failed to access class com.fast...
[ERROR]   NodeMergeTest.testArrayNodeMerge:104 » IllegalAccess failed to access class co...
[ERROR]   NodeMergeTest.testObjectNodeMerge:55 » IllegalAccess failed to access class co...
[ERROR]   PropertyMergeTest.testBeanMergingViaGlobal:132 » IllegalAccess failed to acces...
[ERROR]   PropertyMergeTest.testBeanMergingViaProp:102 » IllegalAccess failed to access ...
[ERROR]   PropertyMergeTest.testBeanMergingViaType:115 » IllegalAccess failed to access ...
[ERROR]   PropertyMergeTest.testBeanMergingWithoutSetter:149 » IllegalAccess failed to a...
[ERROR]   PropertyMergeTest.testReferenceMerging:205 » IllegalAccess failed to access cl...
[ERROR]   ColletionFormatShapeTest.testListAsObjectRoundtrip:56 » IllegalAccess failed t...
[ERROR]   MapFormatShapeTest.testDeserializeAsPOJOViaClass:201 » IllegalAccess failed to...
[ERROR]   MapFormatShapeTest.testRoundTrip:193 » IllegalAccess failed to access class co...
[ERROR]   JSOGDeserialize622Test.testAlterativePolymorphicRoundTrip669:228 » IllegalAccess
[ERROR]   JSOGDeserialize622Test.testPolymorphicRoundTrip:212 » IllegalAccess class com....
[ERROR]   JSOGDeserialize622Test.testStructJSOGRef:195 » IllegalAccess class com.fasterx...
[ERROR]   AbstractSettersTest.testSimpleConstructor:54 » IllegalAccess failed to access ...
[ERROR]   BiggerDataTest.testReading:85 » IllegalAccess failed to access class com.faste...
[ERROR]   BiggerDataTest.testRoundTrip:114 » IllegalAccess failed to access class com.fa...
[ERROR]   POJOAsArrayTest.testReadSimplePropertyValue:107 » IllegalAccess failed to acce...
[ERROR]   POJOAsArrayTest.testReadSimpleRootValue:121 » IllegalAccess failed to access c...
[ERROR]   MyClassLoaderTest.testLoadAndResolvePrivateSuperclassTryParentSameClassTwice:52 » IllegalArgument
[ERROR]   MyClassLoaderTest.testLoadAndResolvePrivateSuperclassTryParentSameClassTwiceTwoThreads:83->loadSameClassOnTwoThreads:198 Runtime
[INFO] 
[ERROR] Tests run: 344, Failures: 2, Errors: 126, Skipped: 0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions