diff --git a/pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/design/xml/ExceptionAsFlowControl.xml b/pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/design/xml/ExceptionAsFlowControl.xml
index e07a11f1e6..ef4467aabe 100644
--- a/pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/design/xml/ExceptionAsFlowControl.xml
+++ b/pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/design/xml/ExceptionAsFlowControl.xml
@@ -113,7 +113,7 @@ class SubE extends TopE { }
                         }
                         return result;
                     } catch (NullPointerException | InvalidCacheLoadException e) {
-                        throw e; // <-- Violation
+                        throw e;
                     } catch (CacheLoaderException e) {
                         throw new ExecutionException(e.getCause());
                     } catch (Exception e) {