Open Ao-senXiong opened 3 months ago
@Ao-senXiong , thank you for your contributions. I have a few comments on this pull request:
jcenter()
. I also can see a reference to JavaPluginConvention
which is also producing a couple of warnings. Can you investigate where this is being used?SymbolicStringBuilder
, can you please explain why you need java.lang.ref.Cleaner
for Java 11 support? 1, I think we need to investigate on gradle 9.0 deprecation in another PR. This PR is more on Java API deprecation. For your question 2 for SymbolicStringBuilder, can you please explain why you need java.lang.ref.Cleaner for Java 11 support?, because _finalize method is deprecated since Java 9. So it is need to use the cleanner.
@Ao-senXiong
Cleanable
from the register
method, then invoke cleanable.clean()
in the place where the _finalize()
is right now. That way you've actually invoked the cleaning whenever the _finalize
is invoked
Merge after #96