kush2439p commented on PR #13391: URL: https://github.com/apache/ignite/pull/13391#issuecomment-5042136001
Fixes the Hibernate 7 query-cache incompatibility caused by Java records. Hibernate’s QueryResultsCacheImpl.CacheItem is now a record, while Ignite’s reflective binary marshaller calls sun.misc.Unsafe.objectFieldOffset(), which is unsupported for record fields on modern JDKs. This change detects records without adding a Java 16 compile-time dependency and routes them through Ignite’s optimized Java-serialization path, which supports serializable records. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
