Currently it is possible to check in files which have no or several newline character(s) at the end of file. The former can lead to compile errors while the second is considered bad style.
jcheck could easily check for these situations.
jcheck could easily check for these situations.
- relates to
-
JDK-8073249 Fix all files to contain exactly one newline at the end of file (and enhance 'jcheck' to enforce this policy)
- Closed