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 17993 - Window system stores non-String value in System.properties
Summary: Window system stores non-String value in System.properties
Status: CLOSED DUPLICATE of bug 11920
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: PC Windows 3.1/NT
: P3 blocker (vote)
Assignee: David Simonek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-11-22 17:13 UTC by Martin Ryzl
Modified: 2008-12-23 09:36 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 Martin Ryzl 2001-11-22 17:13:22 UTC
It may cause unpredictable errors in code that relies on general contract of java.util.Properties.

Steps to reproduce:
run 
  System.getProperties().list(System.err);
using internal execution.

Result:
java.lang.ClassCastException: org.netbeans.core.windows.frames.DefaultContainerImpl$2
        at java.util.Properties.list(Properties.java:528)
        at test.ListProperties.main(ListProperties.java:26)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.openide.execution.ThreadExecutor.executeClass(ThreadExecutor.java:132)
        at org.openide.execution.ThreadExecutor$TERunnable.run(ThreadExecutor.java:209)
        at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:118)
Comment 1 _ ttran 2001-11-22 20:12:03 UTC

*** This issue has been marked as a duplicate of 11920 ***
Comment 2 Quality Engineering 2003-07-01 16:03:50 UTC
Resolved for 3.4.x or earlier, no new info since then -> verified.

Comment 3 Quality Engineering 2003-07-01 16:20:22 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.