Skip to content

Regression: forbidden-apis 1.5 fails on non-runtime annotations (e.g. java.lang.Synthetic) which are not in classpath #27

Closed
@GoogleCodeExporter

Description

@GoogleCodeExporter
Simon Willnauer tried to use forbidden 1.5 with ElasticSearch. Sometimes the 
compiler generates "virtual" annotations (java.lang.Synthetic) or annotations 
that are not visible at runtime. Those annotations should not be checked, 
because they might not exist on classpath (e.g. Guava's @NotNull).

This has to be fixed and 1.5.1 needs to be released ASAP.

Original issue reported on code.google.com by uwe.h.schindler on 17 Apr 2014 at 1:02

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions