Add filter for try-with-resources for javac 11 (#669)

6 files changed