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 7090 - Parsing of ObjectOutputStream.java adds initializer
Summary: Parsing of ObjectOutputStream.java adds initializer
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-07-18 15:17 UTC by pzajac
Modified: 2007-09-26 09:14 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 pzajac 2000-07-18 15:17:00 UTC
Source of java.io.ObjectOutputStream has not initializer but in explorer are
showed two initializers.

Steps to reproduction:
1. Mount sources of jdk 1.2.2.
2. Explore Constructor nodes of /java/io/ObjectOutputStream.java file.
Comment 1 Svata Dedic 2000-07-18 15:21:59 UTC
This requires further investigation. Up to now I've found out, that the inner
classes ObjectOutputStream.PutField and .PutFieldImpl generate an additional
initializer into the enclosing class.
The parser engine is either confused either creates some synthetic code for
internal purposes, but incorrectly passes it out to the Java Module.
Comment 2 Svata Dedic 2000-08-01 12:14:59 UTC
The behaviour is caused by excess semicolons after definitions of
ObjectOutputStream's inner classes. The parser recognizes semicolons as
statements and passes them out as initializers.
Comment 3 Quality Engineering 2003-07-01 13:19:36 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.