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 178939 - editor reports inheritable method as non-existent
Summary: editor reports inheritable method as non-existent
Status: RESOLVED DUPLICATE of bug 186057
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC Windows 7 x64
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-21 09:56 UTC by emiddio
Modified: 2010-05-27 15:21 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
red flags inheritable method (430.05 KB, image/jpeg)
2009-12-21 09:56 UTC, emiddio
Details
2 projects zipped up (34.77 KB, application/octet-stream)
2009-12-23 14:17 UTC, emiddio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description emiddio 2009-12-21 09:56:53 UTC
Created attachment 92824 [details]
red flags inheritable method

see jpeg;

order is an OrderRemote which extends EJBObject which inherits method
getPrimaryKey();
Comment 1 Peter Pis 2009-12-22 00:48:54 UTC
Couldn't it happen that you haven't compile sources (from picture attached it's obvious that you have Compile on Save disabled)

Have you imported the correct libraries and also please make sure of appropriate access modifiers.
Comment 2 emiddio 2009-12-22 01:50:12 UTC
code was compiled;

code is from Sun's j2ee 1.4 nb41 tutorial samples; i did not write;

the method red-flagged is visible as inheritable from the navigator.

i dont know about your correct libraries question?

the code compiles and runs fine.

i hope your question about access modifiers if partially answered by
knowing examples came from Sun's nb41/j2ee1.4 Tutorial dnload zip.

if needed i can zip up the 2 projects -- ejb, ejb-client
Comment 3 emiddio 2009-12-23 14:17:13 UTC
Created attachment 92895 [details]
2 projects zipped up
Comment 4 Peter Pis 2010-01-04 03:46:40 UTC
I've just tried with attached projects and it works for me on Mac. 

Reassigning.
Comment 5 Dusan Balek 2010-05-27 15:21:44 UTC

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