Bug 36271 - CodeAssist should treat array.clone() as visible
Summary: CodeAssist should treat array.clone() as visible
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 3.0 M3   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-09 05:56 EDT by Philipe Mulet CLA
Modified: 2003-08-28 04:43 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipe Mulet CLA 2003-04-09 05:56:26 EDT
Build R2.1

From EclipseCorner:

Sorry for my oversight...thanks Tom.
http://java.sun.com/docs/books/jls/second_edition/html/names.doc.html#27725
for anyone else that is interested.

I would log the problem against JDT Core (or UI?) for not presenting the
clone method as a possible completion

Darins

"SteveNi" <steveneo@21cn.com> wrote in message
news:b6vq5i$fno$1@rogue.oti.com...
> So, it's a requirement of eclipse, right?
>
>
> "Tom Tromey" <tromey@redhat.com> wrote in message
> news:87wui4fy2u.fsf@fleche.redhat.com...
> > >>>>> "Darin" == Darin Swanson <Darin_Swanson@us.ibm.com> writes:
> >
> > Darin> "clone()" is a protected method in this context.
> >
> > The clone method of an array is public.
> > See Java Language Specification, 2nd Ed, section 6.4.4.
> >
> > Tom
>
Comment 1 David Audel CLA 2003-08-21 09:09:43 EDT
Fixed and regression test added (CompletionTest#testCompletionArraysCloneMethod)
Comment 2 David Audel CLA 2003-08-28 04:43:22 EDT
Verified.