From Zulip:
Yoann Rodiere: FWIW some change that occurred at most ~17 hours ago led to failures in the Hibernate Search testsuite against ORM 6.2.0-SNAPSHOT. I'm going to investigate; hopefully it's just something that I need to fix in Search itself.
Yoann Rodiere: Ha. It's actually an assertion that changed ORM's behavior when running tests (so with assertions enabled): https://github.com/hibernate/hibernate-orm/blob/53b3ea6b3b8b5c65e0e076a5f6a2702ec56e353c/hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/AbstractEntityInitializer.java#L853 My test in Search was asserting that if a getter throws an exception/error, Search will report it a certain way. Since ORM now calls that getter before Search does, ORM wraps that exception/error and the reported exception/error is different... So... no big deal. I'll try to adapt my test to make sure the exception/error is thrown only when Hibernate Search calls that getter, not when ORM does.
Yoann Rodiere: (related: https://hibernate.zulipchat.com/#narrow/stream/132094-hibernate-orm-dev/topic/GetterMethodImpl.20wraps.20Errors)
|