PMD Results

The following document contains the results of PMD 6.55.0.

Violations By Priority

Priority 3

org/apache/shiro/web/env/DefaultWebEnvironment.java
Rule Violation Line
UnusedPrivateField Avoid unused private fields such as 'filterConfiguration'. 42
org/apache/shiro/web/filter/authc/LogoutFilter.java
Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 8486
org/apache/shiro/web/mgt/DefaultWebSecurityManager.java
Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 185191
org/apache/shiro/web/servlet/SimpleCookie.java
Rule Violation Line
UnusedLocalVariable Avoid unused local variables such as 'comment'. 428
org/apache/shiro/web/tags/SecureTag.java
Rule Violation Line
UnusedPrivateField Avoid unused private fields such as 'LOGGER'. 35

Priority 4

org/apache/shiro/web/env/EnvironmentLoader.java
Rule Violation Line
UselessParentheses Useless parentheses. 315
org/apache/shiro/web/filter/authc/AuthenticatingFilter.java
Rule Violation Line
UselessParentheses Useless parentheses. 127
UselessParentheses Useless parentheses. 151
org/apache/shiro/web/filter/authc/FormAuthenticationFilter.java
Rule Violation Line
UselessParentheses Useless parentheses. 193
org/apache/shiro/web/mgt/DefaultWebSessionStorageEvaluator.java
Rule Violation Line
UselessParentheses Useless parentheses. 94
org/apache/shiro/web/servlet/IniShiroFilter.java
Rule Violation Line
UselessParentheses Useless parentheses. 293
UselessParentheses Useless parentheses. 293
org/apache/shiro/web/servlet/ShiroHttpServletRequest.java
Rule Violation Line
UselessParentheses Useless parentheses. 108
UselessParentheses Useless parentheses. 203
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'java.security.Principal' due to existing import 'java.security.Principal' 230
org/apache/shiro/web/servlet/ShiroHttpServletResponse.java
Rule Violation Line
UselessParentheses Useless parentheses. 142
UselessParentheses Useless parentheses. 146
UselessParentheses Useless parentheses. 151
UselessParentheses Useless parentheses. 158
UselessParentheses Useless parentheses. 161
UselessParentheses Useless parentheses. 174
UselessParentheses Useless parentheses. 179
UselessParentheses Useless parentheses. 182
UselessParentheses Useless parentheses. 201
UselessParentheses Useless parentheses. 207
UselessParentheses Useless parentheses. 208
UselessParentheses Useless parentheses. 212
UselessParentheses Useless parentheses. 217
UselessParentheses Useless parentheses. 236
UselessParentheses Useless parentheses. 251
UselessParentheses Useless parentheses. 252
UselessParentheses Useless parentheses. 317
UselessParentheses Useless parentheses. 317
UselessParentheses Useless parentheses. 318
UselessParentheses Useless parentheses. 344
org/apache/shiro/web/util/RedirectView.java
Rule Violation Line
UselessParentheses Useless parentheses. 232
UselessParentheses Useless parentheses. 246
org/apache/shiro/web/util/WebUtils.java
Rule Violation Line
UselessParentheses Useless parentheses. 238
UselessParentheses Useless parentheses. 245
UselessParentheses Useless parentheses. 264

Files

org/apache/shiro/web/env/DefaultWebEnvironment.java

Rule Violation Priority Line
UnusedPrivateField Avoid unused private fields such as 'filterConfiguration'. 3 42

org/apache/shiro/web/env/EnvironmentLoader.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 315

org/apache/shiro/web/filter/authc/AuthenticatingFilter.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 127
UselessParentheses Useless parentheses. 4 151

org/apache/shiro/web/filter/authc/FormAuthenticationFilter.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 193

org/apache/shiro/web/filter/authc/LogoutFilter.java

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 8486

org/apache/shiro/web/mgt/DefaultWebSecurityManager.java

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 185191

org/apache/shiro/web/mgt/DefaultWebSessionStorageEvaluator.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 94

org/apache/shiro/web/servlet/IniShiroFilter.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 293
UselessParentheses Useless parentheses. 4 293

org/apache/shiro/web/servlet/ShiroHttpServletRequest.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 108
UselessParentheses Useless parentheses. 4 203
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'java.security.Principal' due to existing import 'java.security.Principal' 4 230

org/apache/shiro/web/servlet/ShiroHttpServletResponse.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 142
UselessParentheses Useless parentheses. 4 146
UselessParentheses Useless parentheses. 4 151
UselessParentheses Useless parentheses. 4 158
UselessParentheses Useless parentheses. 4 161
UselessParentheses Useless parentheses. 4 174
UselessParentheses Useless parentheses. 4 179
UselessParentheses Useless parentheses. 4 182
UselessParentheses Useless parentheses. 4 201
UselessParentheses Useless parentheses. 4 207
UselessParentheses Useless parentheses. 4 208
UselessParentheses Useless parentheses. 4 212
UselessParentheses Useless parentheses. 4 217
UselessParentheses Useless parentheses. 4 236
UselessParentheses Useless parentheses. 4 251
UselessParentheses Useless parentheses. 4 252
UselessParentheses Useless parentheses. 4 317
UselessParentheses Useless parentheses. 4 317
UselessParentheses Useless parentheses. 4 318
UselessParentheses Useless parentheses. 4 344

org/apache/shiro/web/servlet/SimpleCookie.java

Rule Violation Priority Line
UnusedLocalVariable Avoid unused local variables such as 'comment'. 3 428

org/apache/shiro/web/tags/SecureTag.java

Rule Violation Priority Line
UnusedPrivateField Avoid unused private fields such as 'LOGGER'. 3 35

org/apache/shiro/web/util/RedirectView.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 232
UselessParentheses Useless parentheses. 4 246

org/apache/shiro/web/util/WebUtils.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 238
UselessParentheses Useless parentheses. 4 245
UselessParentheses Useless parentheses. 4 264

Processing Errors

Filename Problem
org/apache/shiro/web/env/WebEnvironment.java PMDException: Error while parsing /Users/lprimak/dev/shiro/web/src/main/java/org/apache/shiro/web/env/WebEnvironment.java
net.sourceforge.pmd.PMDException: Error while parsing /Users/lprimak/dev/shiro/web/src/main/java/org/apache/shiro/web/env/WebEnvironment.java
	at net.sourceforge.pmd.SourceCodeProcessor.processSourceCodeWithoutCache(SourceCodeProcessor.java:124)
	at net.sourceforge.pmd.SourceCodeProcessor.processSourceCode(SourceCodeProcessor.java:100)
	at net.sourceforge.pmd.SourceCodeProcessor.processSourceCode(SourceCodeProcessor.java:62)
	at net.sourceforge.pmd.processor.PmdRunnable.call(PmdRunnable.java:89)
	at net.sourceforge.pmd.processor.PmdRunnable.call(PmdRunnable.java:30)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
	at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: net.sourceforge.pmd.lang.java.ast.ParseException: Line 65, Column 5: Cannot use default implementations in interfaces when running in JDK inferior to 1.8 mode!
	at net.sourceforge.pmd.lang.java.ast.JavaParser.throwParseException(JavaParser.java:30)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.checkForBadDefaultImplementationUsage(JavaParser.java:123)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.Modifiers(JavaParser.java:795)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ClassOrInterfaceBodyDeclaration(JavaParser.java:1843)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ClassOrInterfaceBody(JavaParser.java:1808)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ClassOrInterfaceDeclaration(JavaParser.java:936)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.TypeDeclaration(JavaParser.java:838)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.CompilationUnit(JavaParser.java:558)
	at net.sourceforge.pmd.lang.java.AbstractJavaParser.parse(AbstractJavaParser.java:62)
	at net.sourceforge.pmd.lang.AbstractParser.doParse(AbstractParser.java:45)
	at net.sourceforge.pmd.SourceCodeProcessor.parse(SourceCodeProcessor.java:136)
	at net.sourceforge.pmd.SourceCodeProcessor.processSource(SourceCodeProcessor.java:200)
	at net.sourceforge.pmd.SourceCodeProcessor.processSourceCodeWithoutCache(SourceCodeProcessor.java:118)
	... 10 more
org/apache/shiro/web/filter/InvalidRequestFilter.java PMDException: Error while parsing /Users/lprimak/dev/shiro/web/src/main/java/org/apache/shiro/web/filter/InvalidRequestFilter.java
net.sourceforge.pmd.PMDException: Error while parsing /Users/lprimak/dev/shiro/web/src/main/java/org/apache/shiro/web/filter/InvalidRequestFilter.java
	at net.sourceforge.pmd.SourceCodeProcessor.processSourceCodeWithoutCache(SourceCodeProcessor.java:124)
	at net.sourceforge.pmd.SourceCodeProcessor.processSourceCode(SourceCodeProcessor.java:100)
	at net.sourceforge.pmd.SourceCodeProcessor.processSourceCode(SourceCodeProcessor.java:62)
	at net.sourceforge.pmd.processor.PmdRunnable.call(PmdRunnable.java:89)
	at net.sourceforge.pmd.processor.PmdRunnable.call(PmdRunnable.java:30)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
	at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: net.sourceforge.pmd.lang.java.ast.ParseException: Line 106, Column 53: Cannot use method references when running in JDK inferior to 1.8 mode!
	at net.sourceforge.pmd.lang.java.ast.JavaParser.throwParseException(JavaParser.java:30)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.checkForBadMethodReferenceUsage(JavaParser.java:118)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.MethodReference(JavaParser.java:4796)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.MemberSelector(JavaParser.java:4762)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.PrimarySuffix(JavaParser.java:5256)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.PrimaryExpression(JavaParser.java:4680)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.PostfixExpression(JavaParser.java:4494)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.UnaryExpressionNotPlusMinus(JavaParser.java:4392)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.UnaryExpression(JavaParser.java:4269)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.MultiplicativeExpression(JavaParser.java:4184)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.AdditiveExpression(JavaParser.java:4131)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ShiftExpression(JavaParser.java:4074)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.RelationalExpression(JavaParser.java:4013)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.InstanceOfExpression(JavaParser.java:3941)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.EqualityExpression(JavaParser.java:3686)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.AndExpression(JavaParser.java:3646)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ExclusiveOrExpression(JavaParser.java:3606)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.InclusiveOrExpression(JavaParser.java:3566)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ConditionalAndExpression(JavaParser.java:3526)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ConditionalOrExpression(JavaParser.java:3486)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ConditionalExpression(JavaParser.java:3448)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.Expression(JavaParser.java:3307)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ArgumentList(JavaParser.java:5485)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.Arguments(JavaParser.java:5451)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.PrimarySuffix(JavaParser.java:5277)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.PrimaryExpression(JavaParser.java:4680)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.PostfixExpression(JavaParser.java:4494)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.UnaryExpressionNotPlusMinus(JavaParser.java:4392)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.UnaryExpression(JavaParser.java:4269)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.MultiplicativeExpression(JavaParser.java:4184)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.AdditiveExpression(JavaParser.java:4131)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ShiftExpression(JavaParser.java:4074)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.RelationalExpression(JavaParser.java:4013)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.InstanceOfExpression(JavaParser.java:3941)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.EqualityExpression(JavaParser.java:3686)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.AndExpression(JavaParser.java:3646)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ExclusiveOrExpression(JavaParser.java:3606)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.InclusiveOrExpression(JavaParser.java:3566)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ConditionalAndExpression(JavaParser.java:3526)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ConditionalOrExpression(JavaParser.java:3486)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ConditionalExpression(JavaParser.java:3448)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.Expression(JavaParser.java:3307)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ReturnStatement(JavaParser.java:6990)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.Statement(JavaParser.java:5799)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.BlockStatement(JavaParser.java:5971)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.Block(JavaParser.java:5888)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.Statement(JavaParser.java:5765)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.IfStatement(JavaParser.java:6630)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.Statement(JavaParser.java:5781)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.BlockStatement(JavaParser.java:5971)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.Block(JavaParser.java:5888)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.MethodDeclaration(JavaParser.java:2201)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ClassOrInterfaceBodyDeclaration(JavaParser.java:1855)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ClassOrInterfaceBody(JavaParser.java:1808)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ClassOrInterfaceDeclaration(JavaParser.java:936)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.TypeDeclaration(JavaParser.java:838)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.CompilationUnit(JavaParser.java:558)
	at net.sourceforge.pmd.lang.java.AbstractJavaParser.parse(AbstractJavaParser.java:62)
	at net.sourceforge.pmd.lang.AbstractParser.doParse(AbstractParser.java:45)
	at net.sourceforge.pmd.SourceCodeProcessor.parse(SourceCodeProcessor.java:136)
	at net.sourceforge.pmd.SourceCodeProcessor.processSource(SourceCodeProcessor.java:200)
	at net.sourceforge.pmd.SourceCodeProcessor.processSourceCodeWithoutCache(SourceCodeProcessor.java:118)
	... 10 more
org/apache/shiro/web/filter/mgt/DefaultFilterChainManager.java PMDException: Error while parsing /Users/lprimak/dev/shiro/web/src/main/java/org/apache/shiro/web/filter/mgt/DefaultFilterChainManager.java
net.sourceforge.pmd.PMDException: Error while parsing /Users/lprimak/dev/shiro/web/src/main/java/org/apache/shiro/web/filter/mgt/DefaultFilterChainManager.java
	at net.sourceforge.pmd.SourceCodeProcessor.processSourceCodeWithoutCache(SourceCodeProcessor.java:124)
	at net.sourceforge.pmd.SourceCodeProcessor.processSourceCode(SourceCodeProcessor.java:100)
	at net.sourceforge.pmd.SourceCodeProcessor.processSourceCode(SourceCodeProcessor.java:62)
	at net.sourceforge.pmd.processor.PmdRunnable.call(PmdRunnable.java:89)
	at net.sourceforge.pmd.processor.PmdRunnable.call(PmdRunnable.java:30)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
	at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: net.sourceforge.pmd.lang.java.ast.ParseException: Line 137, Column 59: Cannot use lambda expressions when running in JDK inferior to 1.8 mode!
	at net.sourceforge.pmd.lang.java.ast.JavaParser.throwParseException(JavaParser.java:30)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.checkForBadLambdaUsage(JavaParser.java:113)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.LambdaExpression(JavaParser.java:4986)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.PrimaryPrefix(JavaParser.java:4888)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.PrimaryExpression(JavaParser.java:4672)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.PostfixExpression(JavaParser.java:4494)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.UnaryExpressionNotPlusMinus(JavaParser.java:4392)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.UnaryExpression(JavaParser.java:4269)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.MultiplicativeExpression(JavaParser.java:4184)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.AdditiveExpression(JavaParser.java:4131)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ShiftExpression(JavaParser.java:4074)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.RelationalExpression(JavaParser.java:4013)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.InstanceOfExpression(JavaParser.java:3941)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.EqualityExpression(JavaParser.java:3686)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.AndExpression(JavaParser.java:3646)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ExclusiveOrExpression(JavaParser.java:3606)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.InclusiveOrExpression(JavaParser.java:3566)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ConditionalAndExpression(JavaParser.java:3526)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ConditionalOrExpression(JavaParser.java:3486)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ConditionalExpression(JavaParser.java:3448)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.Expression(JavaParser.java:3307)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ArgumentList(JavaParser.java:5485)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.Arguments(JavaParser.java:5451)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.PrimarySuffix(JavaParser.java:5277)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.PrimaryExpression(JavaParser.java:4680)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.PostfixExpression(JavaParser.java:4494)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.StatementExpression(JavaParser.java:6145)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.Statement(JavaParser.java:5773)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.BlockStatement(JavaParser.java:5971)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.Block(JavaParser.java:5888)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.Statement(JavaParser.java:5765)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.IfStatement(JavaParser.java:6630)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.Statement(JavaParser.java:5781)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.BlockStatement(JavaParser.java:5971)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.Block(JavaParser.java:5888)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.MethodDeclaration(JavaParser.java:2201)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ClassOrInterfaceBodyDeclaration(JavaParser.java:1855)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ClassOrInterfaceBody(JavaParser.java:1808)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ClassOrInterfaceDeclaration(JavaParser.java:936)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.TypeDeclaration(JavaParser.java:838)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.CompilationUnit(JavaParser.java:558)
	at net.sourceforge.pmd.lang.java.AbstractJavaParser.parse(AbstractJavaParser.java:62)
	at net.sourceforge.pmd.lang.AbstractParser.doParse(AbstractParser.java:45)
	at net.sourceforge.pmd.SourceCodeProcessor.parse(SourceCodeProcessor.java:136)
	at net.sourceforge.pmd.SourceCodeProcessor.processSource(SourceCodeProcessor.java:200)
	at net.sourceforge.pmd.SourceCodeProcessor.processSourceCodeWithoutCache(SourceCodeProcessor.java:118)
	... 10 more
org/apache/shiro/web/servlet/AbstractShiroFilter.java PMDException: Error while parsing /Users/lprimak/dev/shiro/web/src/main/java/org/apache/shiro/web/servlet/AbstractShiroFilter.java
net.sourceforge.pmd.PMDException: Error while parsing /Users/lprimak/dev/shiro/web/src/main/java/org/apache/shiro/web/servlet/AbstractShiroFilter.java
	at net.sourceforge.pmd.SourceCodeProcessor.processSourceCodeWithoutCache(SourceCodeProcessor.java:124)
	at net.sourceforge.pmd.SourceCodeProcessor.processSourceCode(SourceCodeProcessor.java:100)
	at net.sourceforge.pmd.SourceCodeProcessor.processSourceCode(SourceCodeProcessor.java:62)
	at net.sourceforge.pmd.processor.PmdRunnable.call(PmdRunnable.java:89)
	at net.sourceforge.pmd.processor.PmdRunnable.call(PmdRunnable.java:30)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
	at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: net.sourceforge.pmd.lang.java.ast.ParseException: Line 376, Column 49: Cannot use lambda expressions when running in JDK inferior to 1.8 mode!
	at net.sourceforge.pmd.lang.java.ast.JavaParser.throwParseException(JavaParser.java:30)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.checkForBadLambdaUsage(JavaParser.java:113)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.LambdaExpression(JavaParser.java:4986)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.PrimaryPrefix(JavaParser.java:4892)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.PrimaryExpression(JavaParser.java:4672)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.PostfixExpression(JavaParser.java:4494)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.UnaryExpressionNotPlusMinus(JavaParser.java:4392)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.CastExpression(JavaParser.java:4595)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.UnaryExpressionNotPlusMinus(JavaParser.java:4390)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.UnaryExpression(JavaParser.java:4269)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.MultiplicativeExpression(JavaParser.java:4184)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.AdditiveExpression(JavaParser.java:4131)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ShiftExpression(JavaParser.java:4074)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.RelationalExpression(JavaParser.java:4013)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.InstanceOfExpression(JavaParser.java:3941)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.EqualityExpression(JavaParser.java:3686)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.AndExpression(JavaParser.java:3646)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ExclusiveOrExpression(JavaParser.java:3606)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.InclusiveOrExpression(JavaParser.java:3566)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ConditionalAndExpression(JavaParser.java:3526)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ConditionalOrExpression(JavaParser.java:3486)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ConditionalExpression(JavaParser.java:3448)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.Expression(JavaParser.java:3307)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ArgumentList(JavaParser.java:5485)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.Arguments(JavaParser.java:5451)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.PrimarySuffix(JavaParser.java:5277)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.PrimaryExpression(JavaParser.java:4680)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.PostfixExpression(JavaParser.java:4494)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.StatementExpression(JavaParser.java:6145)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.Statement(JavaParser.java:5773)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.BlockStatement(JavaParser.java:5971)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.Block(JavaParser.java:5888)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.TryStatement(JavaParser.java:7099)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.Statement(JavaParser.java:5808)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.BlockStatement(JavaParser.java:5971)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.Block(JavaParser.java:5888)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.MethodDeclaration(JavaParser.java:2201)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ClassOrInterfaceBodyDeclaration(JavaParser.java:1855)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ClassOrInterfaceBody(JavaParser.java:1808)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ClassOrInterfaceDeclaration(JavaParser.java:936)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.TypeDeclaration(JavaParser.java:838)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.CompilationUnit(JavaParser.java:558)
	at net.sourceforge.pmd.lang.java.AbstractJavaParser.parse(AbstractJavaParser.java:62)
	at net.sourceforge.pmd.lang.AbstractParser.doParse(AbstractParser.java:45)
	at net.sourceforge.pmd.SourceCodeProcessor.parse(SourceCodeProcessor.java:136)
	at net.sourceforge.pmd.SourceCodeProcessor.processSource(SourceCodeProcessor.java:200)
	at net.sourceforge.pmd.SourceCodeProcessor.processSourceCodeWithoutCache(SourceCodeProcessor.java:118)
	... 10 more
org/apache/shiro/web/servlet/ShiroHttpSession.java PMDException: Error while parsing /Users/lprimak/dev/shiro/web/src/main/java/org/apache/shiro/web/servlet/ShiroHttpSession.java
net.sourceforge.pmd.PMDException: Error while parsing /Users/lprimak/dev/shiro/web/src/main/java/org/apache/shiro/web/servlet/ShiroHttpSession.java
	at net.sourceforge.pmd.SourceCodeProcessor.processSourceCodeWithoutCache(SourceCodeProcessor.java:124)
	at net.sourceforge.pmd.SourceCodeProcessor.processSourceCode(SourceCodeProcessor.java:100)
	at net.sourceforge.pmd.SourceCodeProcessor.processSourceCode(SourceCodeProcessor.java:62)
	at net.sourceforge.pmd.processor.PmdRunnable.call(PmdRunnable.java:89)
	at net.sourceforge.pmd.processor.PmdRunnable.call(PmdRunnable.java:30)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
	at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: net.sourceforge.pmd.lang.java.ast.ParseException: Line 60, Column 5: Cannot use '<>' with anonymous inner classes when running in JDK inferior to 9 mode!
	at net.sourceforge.pmd.lang.java.ast.JavaParser.throwParseException(JavaParser.java:30)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.checkForBadAnonymousDiamondUsage(JavaParser.java:147)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.AllocationExpression(JavaParser.java:5596)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.PrimaryPrefix(JavaParser.java:4900)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.PrimaryExpression(JavaParser.java:4672)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.PostfixExpression(JavaParser.java:4494)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.UnaryExpressionNotPlusMinus(JavaParser.java:4392)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.UnaryExpression(JavaParser.java:4269)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.MultiplicativeExpression(JavaParser.java:4184)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.AdditiveExpression(JavaParser.java:4131)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ShiftExpression(JavaParser.java:4074)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.RelationalExpression(JavaParser.java:4013)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.InstanceOfExpression(JavaParser.java:3941)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.EqualityExpression(JavaParser.java:3686)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.AndExpression(JavaParser.java:3646)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ExclusiveOrExpression(JavaParser.java:3606)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.InclusiveOrExpression(JavaParser.java:3566)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ConditionalAndExpression(JavaParser.java:3526)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ConditionalOrExpression(JavaParser.java:3486)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ConditionalExpression(JavaParser.java:3448)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.Expression(JavaParser.java:3307)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.VariableInitializer(JavaParser.java:2078)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.VariableDeclarator(JavaParser.java:1951)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.FieldDeclaration(JavaParser.java:1903)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ClassOrInterfaceBodyDeclaration(JavaParser.java:1853)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ClassOrInterfaceBody(JavaParser.java:1808)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.ClassOrInterfaceDeclaration(JavaParser.java:936)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.TypeDeclaration(JavaParser.java:838)
	at net.sourceforge.pmd.lang.java.ast.JavaParser.CompilationUnit(JavaParser.java:558)
	at net.sourceforge.pmd.lang.java.AbstractJavaParser.parse(AbstractJavaParser.java:62)
	at net.sourceforge.pmd.lang.AbstractParser.doParse(AbstractParser.java:45)
	at net.sourceforge.pmd.SourceCodeProcessor.parse(SourceCodeProcessor.java:136)
	at net.sourceforge.pmd.SourceCodeProcessor.processSource(SourceCodeProcessor.java:200)
	at net.sourceforge.pmd.SourceCodeProcessor.processSourceCodeWithoutCache(SourceCodeProcessor.java:118)
	... 10 more