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 8209 - Bad format of new native method.
Summary: Bad format of new native method.
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 normal (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-11-06 16:00 UTC by ehucka
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ehucka 2000-11-06 16:00:59 UTC
[1040] JDK 1.3 FCS

When I try to create a new native method by action New->Method... in editor it
is created method with two braces (with body). It's in conflict with Java
specification - Abstract and native methods don't have body.
Comment 1 Petr Nejedly 2000-11-06 16:56:59 UTC
I think it's java hierarchy problem.
Comment 2 Petr Slegr 2000-11-07 14:18:59 UTC
Exactly so. Problem is only with native ones.
Comment 3 Svata Dedic 2000-11-07 14:23:59 UTC
I'll correct the customizer behaviour.
Comment 4 ehucka 2000-12-01 12:11:59 UTC
I increased priority because this casts reflections on our developers.
Comment 5 Svata Dedic 2000-12-01 20:15:59 UTC
[dev-81, release31-20] Fixed - native and abstract methods are created without
body block.
Comment 6 Jan Becicka 2000-12-04 16:16:59 UTC
Not fixed in [1160]
[release31-20] Verified
Comment 7 Svata Dedic 2000-12-04 16:20:59 UTC
Yeah, that's OK, 1160 is codefreezed.
Comment 8 Jan Becicka 2000-12-11 15:28:59 UTC
BUG also appears in version : FFJ20
Comment 9 Quality Engineering 2003-07-01 13:20:44 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.