You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Andreas Hubold (JIRA)" <ji...@apache.org> on 2018/01/04 09:42:01 UTC

[jira] [Comment Edited] (MSHARED-674) Maven Dependency Analyzer ignores Java 8 type annotations

    [ https://issues.apache.org/jira/browse/MSHARED-674?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16311072#comment-16311072 ] 

Andreas Hubold edited comment on MSHARED-674 at 1/4/18 9:41 AM:
----------------------------------------------------------------

Patch with proposed fix and test case available at https://github.com/ahubold/maven-dependency-analyzer/commit/dd1eb02596bdb58d1931fb1fd132adfd02e62bab.patch


was (Author: ahubold):
Patch with proposed fix and test case available at https://github.com/ahubold/maven-dependency-analyzer/commit/adca468956aa3c0ab6acca56cde80aff99588f2c.patch

> Maven Dependency Analyzer ignores Java 8 type annotations
> ---------------------------------------------------------
>
>                 Key: MSHARED-674
>                 URL: https://issues.apache.org/jira/browse/MSHARED-674
>             Project: Maven Shared Components
>          Issue Type: Bug
>          Components: maven-dependency-analyzer
>    Affects Versions: maven-dependency-analyzer-1.7
>            Reporter: Andreas Hubold
>
> The Maven Dependency Analyzer's DefaultMethodVisitor does not overwrite org.objectweb.asm.MethodVisitor#visitTypeAnnotation. Because of this, type annotations are not detected. 
> This causes MDEP-594. Have a look at that issue for more details.
> Note, that type annotations were introduced with Java 8.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)