Update Checkstyle for Java 7 Compatibility

Preconditions

OSCAR Source
Compile level Java 7+

Steps to Reproduce

Try to Maven compile Java 7+ code containing new Java 7 syntax such as diamond notation: List<String> alist = new ArrayList<>(); or a try-with-resources block

Expected Result

Code compiles

Observed Result

Checkstyle fails with exception EOF expected but found ...

Additional Comments

The current Maven Checkstyle version 2.8 in Oscar does not handle the new Java 7 syntax. 2.15 is the minimum version required for Java 7.
Version 3.0* is used with Java 8, but this involves a more complex upgrade. Suggestion is to stick with 2.15 for a while.

Assignee

Unassigned

Reporter

Dennis Warren

Labels

None

OSCAR Build Date

2019/10/19

OSCAR Build Tag

SNAPSHOT

Client Browser

Firefox

Client OS

OSX 11.X

Are you or your organization planning on submitting a fix for this bug in the next 30 days?

Yes

Validated by Reporter

No

SourceForge Link

None

SourceForge Reporter

None

SourceForge Assigned To

None

SourceForge Date Created

None

SourceForge ID

None

Fix versions

Affects versions

Priority

5 (Default)
Configure