You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If default location is used for generating test specific SC caches, SharedClassesCacheChecker has the potential to delete non-test related caches as it iterates through the default location and deletes all caches it finds.
SCC stderr Details for Cache 5
SCC stderr
SCC stderr Jan 17, 2019 8:22:07 AM net.openj9.sc.api.SharedClassesCacheChecker verify
SCC stderr INFO: cache name is sharedcc_LOCAL SERVICE
The only test that uses SharedClassesCacheChecker is SharedClassesAPI test. We need to update the test to invoke SharedClassesCacheChecker in such a way that, when default cacheDir is used, it only deletes the cache that the test created.
The text was updated successfully, but these errors were encountered:
Note: SharedClassesCacheChecker is invoked per cache, so we can simply pass the cacheName to it and force it to only delete that cache-- be it from default cacheDir, or specific cacheDir.
If default location is used for generating test specific SC caches, SharedClassesCacheChecker has the potential to delete non-test related caches as it iterates through the default location and deletes all caches it finds.
Example:
https://ci.eclipse.org/openj9/job/Test-extended.system-JDK8-win_x86-64_cmprssptrs/139/tapResults/
The only test that uses
SharedClassesCacheChecker
is SharedClassesAPI test. We need to update the test to invoke SharedClassesCacheChecker in such a way that, when default cacheDir is used, it only deletes the cache that the test created.The text was updated successfully, but these errors were encountered: