Yoann Rodière (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *commented* on HSEARCH-4744 (
https://hibernate.atlassian.net/browse/HSEARCH-4744?atlOrigin=eyJpIjoiMzh...
)
Re: Support automatic Jandex index building for nested JARs (
https://hibernate.atlassian.net/browse/HSEARCH-4744?atlOrigin=eyJpIjoiMzh...
)
See
https://discourse.hibernate.org/t/hibernate-search-6-2-not-able-to-open-n...
This slipped through the cracks, and I think it has the potential of impacting many users
(basically anyone using Spring + nested JARs). I think we should try implementing it right
now, by changing the behavior of Hibernate Search when we detect JDK 13+, and perhaps
providing a better exception message when on JDK 13+. Currently the exception message (
https://github.com/hibernate/hibernate-search/blob/7b6b15c04f0ce6ec98e8d4...
) is Cannot open a ZIP filesystem for code source at '%1$s', because the URI
points to content inside a nested JAR. A better alternative would be Cannot open a ZIP
filesystem for code source at '%1$s', because the URI points to content inside a
nested JAR. Run your application on JDK13+ to get nested JAR support, or disable JAR
scanning by setting a mapping configurer that calls
.discoverAnnotatedTypesFromRootMappingAnnotations(false)
Probably something we should backport to 6.2.
(
https://hibernate.atlassian.net/browse/HSEARCH-4744#add-comment?atlOrigin...
) Add Comment (
https://hibernate.atlassian.net/browse/HSEARCH-4744#add-comment?atlOrigin...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100233- sha1:da16c62 )