Bug 278047 - [ErrorHandling] Error is misleading ...
Summary: [ErrorHandling] Error is misleading ...
Status: VERIFIED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.4.2   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: 3.6 M1   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-27 09:47 EDT by Jonathan Camilleri CLA
Modified: 2009-08-03 10:45 EDT (History)
1 user (show)

See Also:


Attachments
Source code (2.07 KB, application/zip)
2009-05-27 09:47 EDT, Jonathan Camilleri CLA
no flags Details
source code (2.08 KB, application/zip)
2009-05-27 09:51 EDT, Jonathan Camilleri CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Camilleri CLA 2009-05-27 09:47:55 EDT
Created attachment 137330 [details]
Source code

Build ID: Build id: M20090211-1700

Steps To Reproduce:
As I'm typing this code, I get prompted: The constructor Insets() is undefined.  The first suggestion that appears is misleading because it is not valid syntax.  I haven't checked the rest because there is a whole list.

add(faceLabel, new GridBagConstraints(0,0,0,0,0,0,0,0, new Insets(getDefaultCloseOperation(), defaultCloseOperation, defaultCloseOperation, defaultCloseOperation), 0, 0));




More information:
NOTE: I have included a video to demonstrate this issue.

NOTE 2: Microsoft Windows [Version 6.0.6001]
Copyright (c) 2006 Microsoft Corporation.  All rights reserved.

C:\Users\Administrator>java -version
java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode, sharing)

NOTE 3: Source code does not run (see Bug#278042)
Comment 1 Jonathan Camilleri CLA 2009-05-27 09:51:28 EDT
Created attachment 137337 [details]
source code

Replaced source code because there was an error in the original source.
Comment 2 Olivier Thomann CLA 2009-07-22 14:06:48 EDT
I don't get any error with the second attachment.
Closing as INVALID.
Reopen if you have better steps to reproduce.
Comment 3 Frederic Fusier CLA 2009-08-03 10:45:24 EDT
Verified for 3.6M1