Compile error but no line indicators #8181
Labels
Java
[ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form)
kind:bug
Bug report or fix
needs:triage
Requires attention from one of the committers
Apache NetBeans version
Apache NetBeans 24
What happened
Same issue as #7467
Language / Project Type / NetBeans Component
No response
How to reproduce
I tried several ways to get a reproducible case but could not.
Here is a description of what is happening in my current codebase.
public class OrderExportBase {}
public class OrderExport extends OrderExportBase {}
public abstract class OrderExportDIL extends OrderExport {}
public class MMOrderExport extends OrderExportDIL {}
I deleted a private field from OrderExportBase and then followed the errors inside OrderExportBase to remove the getters, setters, etc in OrderExportBase.
On save, the background scanning ran for a while (25 - 20 seconds).
Then an error showed on the tab of OrderExportDIL. OrderExportDIL references the getters and setters I removed. The statements referencing those getters and setters are in italics but there is no error marker in the gutter and no red underline.
Did this work correctly in an earlier version?
No / Don't know
Operating System
Ubuntu 24.04
JDK
17.0.13; OpenJDK 64-Bit Server VM 17.0.13+11-Ubuntu-2ubuntu124.04
Apache NetBeans packaging
Apache NetBeans binary zip
Anything else
No response
Are you willing to submit a pull request?
No
The text was updated successfully, but these errors were encountered: