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 30398 - OutputSettings serialization not safe
Summary: OutputSettings serialization not safe
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Terminalemulator (show other bugs)
Version: 3.x
Hardware: All All
: P4 blocker (vote)
Assignee: _ tboudreau
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-27 18:19 UTC by Jesse Glick
Modified: 2008-12-23 08:23 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 2003-01-27 18:19:43 UTC
Please consider cleaning up the serial form of
this class; surely it is not desired to store a
ColorUIResource (what is that anyway?). If it is,
please check that the JDK team knows they need a
SVUID (file in BugTraq).

Serializable class
javax.swing.plaf.ColorUIResource does not declare
serialVersionUID field. Encountered while storing:
[org.openide.util.SharedClassObject$WriteReplace,
org.netbeans.core.output.OutputSettings,
org.openide.options.SystemOption,
org.openide.util.SharedClassObject,
java.lang.Boolean] See also
http://www.netbeans.org/issues/show_bug.cgi?id=19915
[may have been writing
Mount/#002Fspace#002Fsrc#00dc752e6fqa-functional#002Fsrc.settings]
Comment 1 _ tboudreau 2003-01-30 08:29:34 UTC
ColorUIResource is what UIManager uses for storing color settings.

Real problem is that the output window should not be specifying
user-settable colors in the first place - this should come either
from the look and feel defaults or the theme.  
Comment 2 Jesse Glick 2003-01-30 17:42:00 UTC
Agreed.
Comment 3 _ tboudreau 2003-09-09 01:43:48 UTC
Color settings have been eliminated from output settings;  old
values will be read but not used.

C:\space\nb_all\core\output\src\org\netbeans\core\output>cvs commit
cvs commit: Examining .
cvs commit: Examining resources
Checking in Bundle.properties;
/cvs/core/output/src/org/netbeans/core/output/Bundle.properties,v  <-
-  Bundle.p
roperties
new revision: 1.4; previous revision: 1.3
done
Checking in FindDialogPanel.java;
/cvs/core/output/src/org/netbeans/core/output/FindDialogPanel.java,v 
 <--  FindD
ialogPanel.java
new revision: 1.4; previous revision: 1.3
done
Checking in OutputSettings.java;
/cvs/core/output/src/org/netbeans/core/output/OutputSettings.java,v  
<--  Output
Settings.java
new revision: 1.7; previous revision: 1.6
done
Checking in OutputSettingsBeanInfo.java;
/cvs/core/output/src/org/netbeans/core/output/OutputSettingsBeanInfo.
java,v  <--
  OutputSettingsBeanInfo.java
new revision: 1.3; previous revision: 1.2
done
Processing log script arguments...
Mailing the commit message to cvs@core.netbeans.org (from 
tboudreau@netbeans.org
)
Comment 4 Marian Mirilovic 2005-07-13 13:24:50 UTC
closed
Comment 5 Quality Engineering 2008-12-23 08:23:44 UTC
moving terminal emulator issues to terminalemulator component.
To see the correct version and target milestone of this issue look at Issue
Activity table.