Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 324314 - The outline view does not make difference between a native and a non-native method
Summary: The outline view does not make difference between a native and a non-native m...
Status: CLOSED DUPLICATE of bug 231329
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.6   Edit
Hardware: All All
: P3 trivial (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-02 10:42 EDT by Andres Gomez Casanova CLA
Modified: 2010-09-02 15:39 EDT (History)
2 users (show)

See Also:


Attachments
ScreenShot showing the problem (86.21 KB, image/png)
2010-09-02 12:47 EDT, Andres Gomez Casanova CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andres Gomez Casanova CLA 2010-09-02 10:42:01 EDT
Build Identifier: I20100608-0911

The outline view describes the methods of a class.
It differciates between:
- static and non-static
- the visibility: public, protected, private and default
- final and non-final
- overrideded
- transient and non-transient
BUT it does not changes the icon when a method is native.

Reproducible: Always

Steps to Reproduce:
1. Just write the signature of a native method:
private native void getId();
private void getName(){}
These methods in the outline view have the same icon.
Comment 1 Dani Megert CLA 2010-09-02 11:04:16 EDT
Works for me (using Java editor): it shows a little N top right.
Comment 2 Andres Gomez Casanova CLA 2010-09-02 12:47:58 EDT
Created attachment 178062 [details]
ScreenShot showing the problem

As you can see, the selected perspective is Java, and the Eclipse version is Helios (3.6).

The outline does not make difference when a method is native. It does not show the "n" as you said.
Comment 3 Deepak Azad CLA 2010-09-02 14:13:16 EDT
This is fixed in 3.7 - Bug 231329.

*** This bug has been marked as a duplicate of bug 231329 ***
Comment 4 Andres Gomez Casanova CLA 2010-09-02 15:13:49 EDT
Why was it closed? the other one is already closed. It means that the problem
still exists and it has not been solved.

Bug 231329 -  [decorators] decorator for native methods
Summary:     [decorators] decorator for native methods
Status:     RESOLVED FIXED 

It says that:

Markus Keller      2010-06-24 11:43:24 EDT
Fixed in HEAD.

But as you can see, the problem still exists.
Comment 5 Deepak Azad CLA 2010-09-02 15:39:10 EDT
(In reply to comment #4)
> But as you can see, the problem still exists.
Please try with the latest Eclipse 3.7 milestone build (http://download.eclipse.org/eclipse/downloads/drops/S-3.7M1-201008051700/index.php). You have Eclipse 3.6 .

*** This bug has been marked as a duplicate of bug 231329 ***