Bug 343236 - DBCS4.1: Open declaration from inheritDoc does not point to inherited method in Mac OS X.
Summary: DBCS4.1: Open declaration from inheritDoc does not point to inherited method ...
Status: CLOSED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.7   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2011-04-19 03:38 EDT by Harendra CLA
Modified: 2011-04-19 06:46 EDT (History)
5 users (show)

See Also:


Attachments
Test project (2.15 KB, application/zip)
2011-04-19 03:41 EDT, Harendra CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Harendra CLA 2011-04-19 03:38:58 EDT
Build Identifier: I20110412-2200

OS: Mac OS X
Java environment:1.6.0_24-b07-334
Locale:ja_JP.UTF-8

Reproducible: Always

Steps to Reproduce:
1. Import the attached project.
2. Open the class Subclass.java. It has following contents.
public class Subclass extends Superclass {
	/*
	 * {@inheritDoc } docs
	 * inherited
	 */
	
	public void foo(){
		super.foo();
	}

}
3. Point and click at {@inheritDoc }
4. Control+click and click Open Declaration.
You see the error saying "Current text selection cannot be opened in an editor"
Comment 1 Harendra CLA 2011-04-19 03:41:51 EDT
Created attachment 193548 [details]
Test project
Comment 2 Dani Megert CLA 2011-04-19 06:20:31 EDT
Can you please verify your example:

- I cannot find any DBCS character in it.
- The attached example shows a comment and not a Javadoc comment, hence
   {@inheritDoc} is not supported.

- "Point and click at {@inheritDoc }": where exactly do you click?
Can you attach a screen shot?

What encoding does your workspace use?
Comment 3 Harendra CLA 2011-04-19 06:46:03 EDT
(In reply to comment #2)
> Can you please verify your example:
> 
> - I cannot find any DBCS character in it.
> - The attached example shows a comment and not a Javadoc comment, hence
>    {@inheritDoc} is not supported.
> 
> - "Point and click at {@inheritDoc }": where exactly do you click?
> Can you attach a screen shot?
> 
> What encoding does your workspace use?

You are right, it is invalid. I had missed an *. Sorry for the
inconvenience marked as invalid. Thanks.