This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 149356 - Error badging on compilable file. Forced reparse helps.
Summary: Error badging on compilable file. Forced reparse helps.
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Rastislav Komara
URL:
Keywords:
Depends on:
Blocks: 121950
  Show dependency tree
 
Reported: 2008-10-07 13:03 UTC by Tomas Danek
Modified: 2009-08-07 17:29 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Danek 2008-10-07 13:03:48 UTC
Product Version: NetBeans IDE Dev (Build 200810070201)
Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11
System: Linux version 2.6.24-19-generic running on i386; UTF-8; en_US (nb)
Userdir: /tmp/ud

+ j2seproejct module prototype provided by jlahoda
---------------------

not sure if this does not belong to javac?!

- open old project (does not use CoS) e.g. Anagram game
- open WordLibrary.java
- make an error in package declaration ( package com.toy.anagrams.lib; -> XXXXpackage com.toy.anagrams.lib;)
- error underline is shown 
- correct the error
- error underline is gone from package  decl. statement, but is still present on return from getDefault() method as well
as error badging on project file node. 

Only forced reparse helps here.

I'd evaluate this as possible P2, since users are quite sensitive on bugs in this area:)
Comment 1 Jan Lahoda 2008-10-08 10:42:25 UTC
Too dangerous to touch this part of code for 6.5. We might be able to fix it into some patch release, depending on how
dangerous the actual change will be.
Comment 2 Marian Mirilovic 2008-10-08 13:04:03 UTC
agreed with Honza, ... adding SW to keep it in mind for patch 1
Comment 3 pgebauer 2008-11-24 09:29:21 UTC
The issue didn't pass the nomination process by nomination cut-off date. It has been marked as 65fixes2-candidate.
Comment 4 David Strupl 2009-01-13 08:48:02 UTC
Too late for 65fixes2-candidate ...
Comment 5 Rastislav Komara 2009-02-03 10:52:00 UTC
Overtake.
Comment 6 Dusan Balek 2009-08-07 17:29:12 UTC
Should be fixed in the current dev build.