A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pmd/pmd/issues/414 below:

[java] Java 8 parsing problem with annotations for wildcards · Issue #414 · pmd/pmd · GitHub

pmd-java:

run test case:
net.sourceforge.pmd.lang.java.ast.ParserCornersTest.testParsersCases18()
with
class ParserCornerCases18 modified:
public List<@AnnotatedUsage ?> testWildCardWithAnnotation() { return null; }
result: parsing error
fix for java.jjt:

void TypeArgument():
{}
{
   (Annotation() {checkForBadTypeAnnotations();})* (ReferenceType() | "?" [ WildcardBounds() ])
}

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4