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: | Two not consistent indentation engines lists | ||
---|---|---|---|
Product: | platform | Reporter: | Jan Lahoda <jlahoda> |
Component: | Options&Settings | Assignee: | Jan Pokorsky <jpokorsky> |
Status: | CLOSED FIXED | ||
Severity: | blocker | CC: | mmirilovic |
Priority: | P2 | ||
Version: | 3.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | place the patch under lib/patches |
Description
Jan Lahoda
2002-03-18 16:43:28 UTC
So, just found that the same applies to Compilers (Options/Building/Compiler Types). As services can be used "External compiler", as identifying property can be used "Encoding" and the list from point 7 can be used from "Execution" tab of any Java source. Build 200205020100, Solaris 8. Rising priority and re-assigning to core. I was playing with this a bit now, and found that what is wrong is the copy&paste of the service (part of point 4). The other steps are not necessary. A little better description what seems to happen: It seems that there are three instances of the service after copy&paste. One is shared in both lists (as supposed) - this is the copy. The other two are one in each list. In the list from "Execution" tab, there is a brand new default instance, in the list in the options, there is original instance (the one created in the IDE start). Settings problem? Honzo, can you please evaluate? Thanks Here is my evaluation. The culprit is InstanceDataObjcet that resets original ServiceType after its copying to null. I've prepared 4-lines fix solving the issue. Created attachment 5626 [details]
place the patch under lib/patches
Jan L. can you verify the patch with orion-fcs please? Fixed in the trunk. http://openide.netbeans.org/source/browse/openide/src/org/openide/load ers/InstanceDataObject.java.diff?r1=1.125&r2=1.126 Honza, verify this one please. Thanks. Do you really want get it into Orion ? I verified in on 200205030100 (orion not yet). (btw: found a small bug, probably in editor, related to this: Issue #23081.) Using the attached patch, the problem disapeared from orion (build 020501_1). integrated in orion_fcs and release33 branches. http://openide.netbeans.org/source/browse/openide/src/org/openide/load ers/InstanceDataObject.java.diff?r1=1.113.2.7&r2=1.113.2.7.4.1 http://openide.netbeans.org/source/browse/openide/src/org/openide/load ers/InstanceDataObject.java.diff?r1=1.113.2.7&r2=1.113.2.8 Verified in orion 20020505, EE. Resolved for 3.4.x or earlier, no new info since then -> closing. |