Skip to content

Upgrade to Java 17 #3756

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 · 1 comment
Closed

Upgrade to Java 17 #3756

mp911de opened this issue Jul 29, 2021 · 1 comment
Labels
status: waiting-for-triage An issue we've not yet triaged

Comments

@mp911de
Copy link
Member

mp911de commented Jul 29, 2021

[ERROR] Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.006 s <<< FAILURE! - in org.springframework.data.mongodb.core.EntityOperationsUnitTests
[ERROR] org.springframework.data.mongodb.core.EntityOperationsUnitTests.shouldReportInvalidMetaField  Time elapsed: 0.005 s  <<< FAILURE!
java.lang.AssertionError: 

Expecting actual throwable to be an instance of:
  org.springframework.data.mapping.MappingException
but was:
  java.lang.reflect.InaccessibleObjectException: Unable to make private java.time.Instant(long,int) accessible: module java.base does not "opens java.time" to unnamed module @4bc42a8c
	at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354)
	at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
	at java.base/java.lang.reflect.Constructor.checkCanSetAccessible(Constructor.java:188)
	...(96 remaining lines not displayed - this can be changed with Assertions.setMaxStackTraceElementsDisplayed)
	at org.springframework.data.mongodb.core.EntityOperationsUnitTests.shouldReportInvalidMetaField(EntityOperationsUnitTests.java:47)

See also spring-projects/spring-data-commons#2423

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jul 29, 2021
@christophstrobl
Copy link
Member

duplicate of #3749. should be fixed by #3752

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting-for-triage An issue we've not yet triaged
Projects
None yet
Development

No branches or pull requests

3 participants