Skip to content

Add Java 17 verification to CI pipeline #2423

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

Closed
mp911de opened this issue Jul 29, 2021 · 0 comments
Closed

Add Java 17 verification to CI pipeline #2423

mp911de opened this issue Jul 29, 2021 · 0 comments
Labels
type: task A general task

Comments

@mp911de
Copy link
Member

mp911de commented Jul 29, 2021

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)

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jul 29, 2021
@mp911de mp911de added type: task A general task and removed status: waiting-for-triage An issue we've not yet triaged labels Sep 21, 2021
@mp911de mp911de changed the title Upgrade to Java 17 Add Java 17 verification to CI pipeline Sep 21, 2021
mp911de added a commit that referenced this issue Sep 21, 2021
Avoid usage of encapsulated tests as dummies. Add dependency override for ASM dependencies.

Replace Java 16 with Java 17 in CI pipeline.

Closes #2423
mp911de added a commit that referenced this issue Sep 21, 2021
Fix invalid links. Replace Javadoc links to JSR-305 with code annotations.

Replace self-enclosing tags with simple ones.

See #2423
mp911de added a commit that referenced this issue Sep 21, 2021
Fix invalid links. Replace Javadoc links to JSR-305 with code annotations.

Replace self-enclosing tags with simple ones.

See #2423
@mp911de mp911de added this to the 2.6 RC1 (2021.1.0) milestone Sep 21, 2021
mp911de added a commit that referenced this issue Sep 21, 2021
mp911de added a commit that referenced this issue Sep 21, 2021
mp911de added a commit that referenced this issue Sep 21, 2021
mp911de added a commit that referenced this issue Sep 21, 2021
mp911de added a commit that referenced this issue Sep 21, 2021
christophstrobl pushed a commit that referenced this issue Oct 19, 2021
mp911de added a commit that referenced this issue Nov 12, 2021
mp911de added a commit that referenced this issue Nov 16, 2021
mp911de added a commit that referenced this issue Jan 3, 2022
schauder pushed a commit that referenced this issue Jan 13, 2022
mp911de added a commit that referenced this issue Feb 21, 2022
Avoid usage of encapsulated tests as dummies. Add dependency override for ASM dependencies.

See #2423
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: task A general task
Projects
None yet
Development

No branches or pull requests

2 participants