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

Petr Pisl edited comment on NETBEANS-6218 at 11/18/21, 3:31 PM:
----------------------------------------------------------------

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}
Have a project with these two files. The scanning never finished. 


was (Author: petricius):
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-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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

Reply via email to