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.
Product Version: NetBeans IDE Dev (Build 200803170003) Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19 System: Linux version 2.6.24-12-generic running on i386; UTF-8; en_US (nb) (This issue is probably a duplicate) Create a new java desktop application, open the source code of the "...view.java" file and rename/refactor the package that contains this file. You will get an error warnings and some code will be underline in spite of being correct. If you just rewrite the same code manually, the warnings disappears. Read whole discussion here: http://www.netbeans.org/issues/show_bug.cgi?id=124137 You will find some irrelevant information and the screenshot of what I mean by the problem (underlined code in the screenshot are actually correct).
Yes, it duplicate of issue 129907. *** This issue has been marked as a duplicate of 129907 ***
This issue is not a duplicate of 129907, as it is not about badges in Project window, but about underlined source code. Still reproducible in: Product Version: NetBeans IDE Dev (Build 200803171203) Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19 System: Linux version 2.6.24-12-generic running on i386; UTF-8; en_US (nb) In the following screenshot, you can see that there are no badges in the Project view. But there are some underlined lines of code in spite of the fact the code is correct. http://www.netbeans.org/nonav/issues/showattachment.cgi/58493/screenshot.png To reproduce: 1. create a java desktop application called "DesktopApplication" 2. open source (!! not visual designer but source code) of DesktopApplicationView.java 3. rename/refactor source package "desktopapplication" to "desktopapplicationnew"
I don't seem to be able to reproduce this in a dev build.
Reproducible in: Product Version: NetBeans IDE Dev (Build 200803171203) Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19 System: Linux version 2.6.24-12-generic running on i386; UTF-8; en_US (nb) Every time I try. I just executed the scenario again: 1. create a java desktop application called "DesktopApplication" 2. open source (!! not visual designer but source code) of DesktopView.java 3. rename/refactor (Ctrl+R) source package "desktopapplication" to "desktopapplicationnew" And the problem was the same. (I live in 2122.)
Joshis, could you please verify in a new (todays) build? Thanks.
msauer, I tried build: Product Version: NetBeans IDE Dev (Build 200803190008) Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19 System: Linux version 2.6.24-12-generic running on i386; UTF-8; en_US (nb) The issue is still reproducible. Today, I was testing JDK1.5/JDK1.6 compliance. I changed JDK1.5 to JDK1.6 and back several times, so that errors with swing were appearing. Once I "fixed" the code (set "Layout Generation Style" to "Standard Java 6"), I cleaned and built the project. However, some lines remained underlined and marked as incorrect.
Created attachment 58637 [details] Screenshot after a "clean and bulid" action (sorry for the repeated messages, I pressed F5 as the browser seemed to freeze)
Marking this as duplicate of higher priority bug. *** This issue has been marked as a duplicate of 131403 ***
Verified: 20080411