[GRADLE-3483] Handling of exported Annotations in new Java Software Model fails for primitive Array values Created: 14/Jun/16  Updated: 25/Jan/17  Resolved: 14/Jun/16

Status: Resolved
Project: Gradle
Affects Version/s: 2.13
Fix Version/s: 3.0-milestone-2, 3.0-rc-2

Type: Bug
Reporter: Stefan Wolf Assignee: Stefan Wolf
Resolution: Fixed Votes: 0


 Description   

See https://discuss.gradle.org/t/handling-of-exported-library-annotations-in-new-java-software-model/14390

Having an annotation with a primitive Array value like

@Parameter(names={"foo"})
public void bar() {}

makes analyzing the class fail with a NullPointerException.


Generated at Wed Jun 30 12:49:58 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.