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 5107 - Compiler/executor/debugger defaults on JavaSettings are not properly stored.
Summary: Compiler/executor/debugger defaults on JavaSettings are not properly stored.
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: All All
: P4 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-12-23 01:07 UTC by Jesse Glick
Modified: 2008-12-23 10:35 UTC (History)
0 users

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 Jesse Glick 1999-12-23 01:07:19 UTC
JavaSettings has properties for the defaults for compilers/debuggers/executors, but these are not properly stored across project save & restore (i.e. IDE restart). For example, if the compiler defau
lt is set to Internal Javac V8 instead of the original Internal Javac, it will revert to Internal Javac after a restart.

I`m not sure exactly why this is so (why it does not persist correctly). However, looking at JavaSettings it is definitely wrong. This is because the actual CompilerType object (e.g.) should not be pe
rsisted, rather its name should be, and upon reload the compiler type should be looked up by name. In JavaSettings, the actual service type is the Bean property type.

See suggested Fix on next pane.
Comment 1 Marek Grummich 2000-07-25 09:17:59 UTC
Priority is changed to P4 (normal).
Comment 2 Quality Engineering 2003-07-02 14:56:08 UTC
Resolved for 3.4.x or earlier, no new info since then -> verify.
Comment 3 Quality Engineering 2003-07-02 15:18:11 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.