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.
Summary: | [Insert Code Add Property] PropertyVetoException added both with fqn and import | ||
---|---|---|---|
Product: | java | Reporter: | Max Sauer <msauer> |
Component: | Source | Assignee: | Svata Dedic <sdedic> |
Status: | RESOLVED WONTFIX | ||
Severity: | blocker | ||
Priority: | P4 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Max Sauer
2007-12-11 16:14:48 UTC
Also when adding properties using the code insertion shortcut, the new code is inserted where the cursor is. E.g. if the cursor happens to be inside a code block (if-block or try-catch-block, etc), then the property and its accessor methods are inserted right there, which results in uncompilable code (= a protected variable, and a getter and setter *inside* another method). Also there is a newline right after the generated access modifier, is this on purpose? -------- Product Version: NetBeans IDE 6.1 Beta (Build 200803050202) Java: 1.5.0_13; Java HotSpot(TM) Client VM 1.5.0_13-121 System: Mac OS X version 10.4.11 running on i386; MacRoman; de_DE (nb) Overtake. Reassigning all moonko's java/source bugs to myself. This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss |