Skip to content

Add Java 17 verification to CI pipeline #2423

Closed
@mp911de

Description

@mp911de

Currently broken test:

[ERROR] Errors: 
[ERROR]   CustomConversionsUnitTests.shouldSelectPropertCustomReadTargetForCglibProxiedType:167->createProxyTypeFor:302 » AopConfig
[ERROR]   CustomConversionsUnitTests.shouldSelectPropertCustomWriteTargetForCglibProxiedType:159->createProxyTypeFor:302 » AopConfig
[ERROR]   SpringDataJaxbUnitTests.setUp:71 » NoClassDefFound Could not initialize class ...
[ERROR]   SpringDataJaxbUnitTests.setUp:71 » ExceptionInInitializer
[ERROR]   SpringDataJaxbUnitTests.setUp:71 » NoClassDefFound Could not initialize class ...
[ERROR]   AbstractMappingContextUnitTests.detectsEntityTypeEveneIfSimpleTypeHolderConsidersCollectionsSimple:309 » InaccessibleObject
[ERROR]   PersistentPropertyAccessorTests.kotlinCopyMethodShouldNotSetUnsettableProperty:135->getProperty:210 » InaccessibleObject
[ERROR]   PersistentPropertyAccessorTests.kotlinCopyMethodShouldNotSetUnsettableProperty:134->lambda$parameters$0:59 » InaccessibleObject
[INFO] 
[ERROR] Tests run: 3184, Failures: 0, Errors: 8, Skipped: 6


[ERROR] org.springframework.data.mapping.context.AbstractMappingContextUnitTests.detectsEntityTypeEveneIfSimpleTypeHolderConsidersCollectionsSimple  Time elapsed: 0.003 s  <<< ERROR!
java.lang.reflect.InaccessibleObjectException: Unable to make field private final byte[] java.lang.String.value accessible: module java.base does not "opens java.lang" to unnamed module @4bc42a8c
	at org.springframework.data.mapping.context.AbstractMappingContextUnitTests.detectsEntityTypeEveneIfSimpleTypeHolderConsidersCollectionsSimple(AbstractMappingContextUnitTests.java:309)

[ERROR] Tests run: 19, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.158 s <<< FAILURE! - in org.springframework.data.mapping.model.PersistentPropertyAccessorTests
[ERROR] org.springframework.data.mapping.model.PersistentPropertyAccessorTests.kotlinCopyMethodShouldNotSetUnsettableProperty(Function)[1]  Time elapsed: 0.021 s  <<< ERROR!
java.lang.reflect.InaccessibleObjectException: Unable to make field private final long java.util.UUID.mostSigBits accessible: module java.base does not "opens java.util" to unnamed module @4bc42a8c
	at org.springframework.data.mapping.model.PersistentPropertyAccessorTests.getProperty(PersistentPropertyAccessorTests.java:210)
	at org.springframework.data.mapping.model.PersistentPropertyAccessorTests.kotlinCopyMethodShouldNotSetUnsettableProperty(PersistentPropertyAccessorTests.java:135)

[ERROR] org.springframework.data.mapping.model.PersistentPropertyAccessorTests.kotlinCopyMethodShouldNotSetUnsettableProperty(Function)[2]  Time elapsed: 0.001 s  <<< ERROR!
java.lang.reflect.InaccessibleObjectException: Unable to make field private final long java.util.UUID.mostSigBits accessible: module java.base does not "opens java.util" to unnamed module @4bc42a8c
	at org.springframework.data.mapping.model.PersistentPropertyAccessorTests.lambda$parameters$0(PersistentPropertyAccessorTests.java:59)
	at org.springframework.data.mapping.model.PersistentPropertyAccessorTests.kotlinCopyMethodShouldNotSetUnsettableProperty(PersistentPropertyAccessorTests.java:134)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions