Stop complaining of "'protected' visibility is effectively 'private' in final class" for function 'finalize'

According to the finalize official document

According to Java’s rules, finalize() must not be private.

The warning is annoying…

Please file a YouTrack issue.

JVM 9 workaround :slight_smile:

https://docs.oracle.com/javase/9/docs/api/java/lang/ref/Cleaner.html

I created a ticket for this issue:

https://youtrack.jetbrains.com/issue/IDEA-186847