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 218655 - Hint not correct if space follows dot (.)
Summary: Hint not correct if space follows dot (.)
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 7.3
Hardware: PC Windows 3.1/NT
: P3 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-20 07:16 UTC by Chiana
Modified: 2012-12-01 14:55 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Shows correct statement without space and hint correct (24.14 KB, image/jpeg)
2012-09-20 07:17 UTC, Chiana
Details
Shows same as Hint1 but with a space after the dot (25.74 KB, image/jpeg)
2012-09-20 07:17 UTC, Chiana
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chiana 2012-09-20 07:16:01 UTC
[ JDK VERSION : 1.7.7 ]

If a space is before or after the dot in a class-reference the hint is not
correct.
See screen-caps for details.

This also goes for a space before the dot.
Comment 1 Chiana 2012-09-20 07:17:01 UTC
Created attachment 124615 [details]
Shows correct statement without space and hint correct
Comment 2 Chiana 2012-09-20 07:17:50 UTC
Created attachment 124616 [details]
Shows same as Hint1 but with a space after the dot
Comment 3 Chiana 2012-09-20 07:19:57 UTC
It is also apparent that this condition only appears when the target (after the dot) does not exists (yet)...
Comment 4 Jiri Prox 2012-09-20 10:00:18 UTC
reproducible
Comment 5 Chiana 2012-09-20 10:16:14 UTC
I must correct myself, this does not occur for a space *before* the dot.
Comment 6 Chiana 2012-09-20 15:57:39 UTC
One additional note, this does not occur when cursor is on the statement, only when it is outside (i.e. after ';' or one line up/down).
Comment 7 Jan Lahoda 2012-10-26 17:05:43 UTC
http://hg.netbeans.org/jet-main/rev/87952de9b5f2
Comment 8 Quality Engineering 2012-10-27 01:32:34 UTC
Integrated into 'main-golden', will be available in build *201210270001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/87952de9b5f2
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #218655: undefined error span after whitespace.
Comment 9 Chiana 2012-12-01 14:55:11 UTC
Verified 121130