hibernate-orm
hibernate-orm copied to clipboard
HHH-18500 Gradle plugin crashes on module-info when extended enhancement is set
See Jira issue HHH-18500
When Hibernate Gradle plugin is used with extended enhancement set to true, it will throw NPE on module-info. This is caused by fact that module-info does not have super class. Solution is simple null check to avoid NPE.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and can be relicensed under the terms of the LGPL v2.1 license in the future at the maintainers' discretion. For more information on licensing, please check here.