[jira] [Commented] (GROOVY-8628) Groovydoc fails to parse Java static nested classes with diamond operator

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (GROOVY-8628) Groovydoc fails to parse Java static nested classes with diamond operator

JIRA jira@apache.org

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

ASF GitHub Bot commented on GROOVY-8628:
----------------------------------------

Github user av-m commented on a diff in the pull request:

    https://github.com/apache/groovy/pull/748#discussion_r193308528
 
    --- Diff: subprojects/groovy-groovydoc/src/test/groovy/org/codehaus/groovy/tools/groovydoc/testfiles/JavaStaticNestedClassWithDiamond.java ---
    @@ -18,12 +18,17 @@
      */
     package org.codehaus.groovy.tools.groovydoc.testfiles;
     
    -public abstract class JavaStaticNestedClassWithDiamond<E> {
    +public class JavaStaticNestedClassWithDiamond<E> {
    --- End diff --
   
    It did not see any reason for the test class being abstract. Please let me know if I should revert the line in question.


> Groovydoc fails to parse Java static nested classes with diamond operator
> -------------------------------------------------------------------------
>
>                 Key: GROOVY-8628
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8628
>             Project: Groovy
>          Issue Type: Bug
>          Components: GroovyDoc
>            Reporter: Marco-Antonio Avallone
>            Priority: Major
>
> Failing source file example:
> {code:java}
> public class JavaClass<E> {
>     JavaClass() { }
>     public static class Nested<E> extends JavaClass<E> {
>         Nested() { }
>     }
> }
> JavaClass<Object> expectedObject = new JavaClass.Nested<>();
> {code}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)