You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Petr Pisl (Jira)" <ji...@apache.org> on 2021/11/18 15:32:00 UTC

[jira] [Commented] (NETBEANS-6218) There is endles loop of parsing in groovy sources

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

Petr Pisl commented on NETBEANS-6218:
-------------------------------------

Reproduce the problem:

The first file:
{code:java}
package my.pkg.impl

import my.pkg.app.ClassA
 
class ClassB {
} {code}
The second file:
{code:java}
package my.pkg.app

import my.pkg.impl.ClassB

class ClassA {
}{code}

> There is endles loop of parsing in groovy sources
> -------------------------------------------------
>
>                 Key: NETBEANS-6218
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-6218
>             Project: NetBeans
>          Issue Type: Bug
>          Components: groovy - Editor
>    Affects Versions: 12.5
>            Reporter: Petr Pisl
>            Assignee: Petr Pisl
>            Priority: Major
>
> Groovy editor uses for parsing the Groovy parser from runtime and use compilation units from Groovy API to compile the sources to obtain the result AST. There can be reference loop beetween sources and such case creates endless loop of parsing due a bug in the CompilationUnit implamentation in Groovy NetBeans editor. This means that background scanning of such source root never ends. 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists