| When Jigsaw-ifying HV (i.e. adding a module-info.class and making it a named module), the following exception is raised when not configuring the resource bundle locator to be non-aggregating:
java.lang.UnsupportedOperationException: ResourceBundle.Control not supported in named modules
at java.base/java.util.ResourceBundle.checkNamedModule(ResourceBundle.java:1527)
at java.base/java.util.ResourceBundle.getBundle(ResourceBundle.java:1488)
at org.hibernate.validator.engine/org.hibernate.validator.resourceloading.PlatformResourceBundleLocator.loadBundle(PlatformResourceBundleLocator.java:135)
at org.hibernate.validator.engine/org.hibernate.validator.resourceloading.PlatformResourceBundleLocator.getResourceBundle(PlatformResourceBundleLocator.java:108)
at org.hibernate.validator.engine/org.hibernate.validator.messageinterpolation.AbstractMessageInterpolator.interpolateMessage(AbstractMessageInterpolator.java:265)
at org.hibernate.validator.engine/org.hibernate.validator.messageinterpolation.AbstractMessageInterpolator.interpolate(AbstractMessageInterpolator.java:217)
at org.hibernate.validator.engine/org.hibernate.validator.internal.engine.ValidationContext.interpolate(ValidationContext.java:426)
Not a big problem right now, but people will stumble upon it when trying to add a module descriptor for HV. |