beehive-lab / TornadoVM

TornadoVM: A practical and efficient heterogeneous programming framework for managed languages
https://www.tornadovm.org
Apache License 2.0
1.18k stars 112 forks source link

[checkstyle] Add exception handling to checkstyle configuration to support STR templates #309

Closed mikepapadim closed 8 months ago

mikepapadim commented 8 months ago

Description

Using String Templates caused checkstyle to fail due to unsupported rules.

There is an open PR, so it is going to be officially supported soon. https://github.com/checkstyle/checkstyle/issues/13830#issuecomment-1892787426

However, they provided the following temporary workaround to suppress errors regarding String Templates
https://github.com/checkstyle/checkstyle/issues/12542#issuecomment-1362261537.

Backend/s tested

Mark the backends affected by this PR.

OS tested

Mark the OS where this PR is tested.

How to test the new patch?

make checkstyle