Hi Bas, Thank you for your help, unfortunately it is not that simple (i need write-access as well). I solved the problem anyways (see other answer)
Johannes Renoth On 2021-01-18 18:10, Bas Gooren wrote: > Hi! > > That’s actually quite easy to replace: > > If you have a model containing the LocalDateTime, change the call to: > > var model = Model.of( LocalDateTime.now() ); > model.map( LocalDateTime::toLocalDate ); > > Since the “date” field is private final I assume your model was read-only. > > Met vriendelijke groet, > Kind regards, > > Bas Gooren > > Op 18 januari 2021 bij 17:13:42, Johannes Renoth > (johannes.ren...@gmx.de <mailto:johannes.ren...@gmx.de>) schreef: > >> Hello, >> >> In my project i have the following Warning since the Update to Java 11: >> >> The issue remains even after trying with the latest Version 9.2.0 >> >> I am using a LocalDateTime Model Object with >> PropertyModel(LocalDateTime, "date"). >> >> Of course i could try to split my Model into two parts date and time >> but it is much more convenient as it is now. >> >> Any suggestions what i could do? >>