Cocoa-Puffs commented on PR #5986:
URL: https://github.com/apache/fineract/pull/5986#issuecomment-4706929564
the fineract build failed with the following deprecation warning:
```
* What went wrong:
Deprecated Gradle features were used in this build, making it incompatible
with Gradle 9.0.
Execution failed for task ':fineract-provider:compileJava'.
> Compilation failed; see the compiler output below.
/home/runner/work/fineract/fineract/fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/service/migration/TenantDatabaseUpgradeService.java:91:
warning: [deprecation] ThreadLocalScopeManager in liquibase has been deprecated
Scope.setScopeManager(new ThreadLocalScopeManager());
```
I have looked up the liquibase documentation to find out why this is
deprecated and what is the recommended upgrade path.
https://javadocs.liquibase.com/liquibase-core/liquibase/ThreadLocalScopeManager.html
According to the docs of this file "ScopeManager now uses ThreadLocal to
prevent concurrent modification issues. This class is no longer needed." So i
have removed the setting in our upgrade service.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]