Sanne Grinovero (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *created* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiZmNiYjA4Zjgz...
) / Task (
https://hibernate.atlassian.net/browse/HHH-13972?atlOrigin=eyJpIjoiZmNiYj...
) HHH-13972 (
https://hibernate.atlassian.net/browse/HHH-13972?atlOrigin=eyJpIjoiZmNiYj...
) Disable the ForbiddenAPI classloader cache (
https://hibernate.atlassian.net/browse/HHH-13972?atlOrigin=eyJpIjoiZmNiYj...
)
Issue Type: Task Assignee: Sanne Grinovero (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) Components: build Created: 23/Apr/2020 04:13 AM Fix Versions: 5.5.0.Beta1 Priority:
Minor Reporter: Sanne Grinovero (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
The ForbiddenAPI tool we use has a smart classloader cache, but it seems this interacts
with the gradle daemon; in some situations this has shown to load snapshot builds from a
previous build.
I haven't fully understood why this happens; what I know is we're possibly loading
the snapshots that the OSGi integration tests are needing to deploy into a Maven
repository, so I'd guess this possibly bypasses some sanity checks from the Gradle
tooling.
Let's disable the cache: it solves the problem, probably avoids some future headaches
and I've not seen any performance difference.
(
https://hibernate.atlassian.net/browse/HHH-13972#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-13972#add-comment?atlOrigin=ey...
)
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#100125- sha1:63ccdc5 )