Closed
Bug 20681
Opened 25 years ago
Closed 25 years ago
Mark isn't supported and reset result isn't specified
Categories
(Core Graveyard :: Java-Implemented Plugins, defect, P3)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: lvv, Assigned: blackconnect)
Details
From java2 documentation about reset method of the InputStream:
If the method markSupported returns false, then:
1.The call to reset may throw an IOException.
2.If an IOException is not thrown, then the stream is reset to a
fixed state that depends on the particular type of the input
stream and how it was created. The bytes that will be supplied
to subsequent callers of the read method depend on the
particular type of the input stream.
Currently the markSupported returns false and reset doesn't throw
IOException. So the "fixed state" of the stream should be specified
and implemented (something like "to begin of the stream") or reset
should throw IOException.
Reporter | ||
Updated•25 years ago
|
Assignee: akhil.arora → idk
Reporter | ||
Comment 1•25 years ago
|
||
All above was said about implementation of the 2nd parameter (InputStream)
of the onDataAvailable method of the PlugletStreamListener interface.
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 2•25 years ago
|
||
There is no "fixed state" for PlugletInputStream.
I added IOException throwning to PlugletInputStream.reset method
I am closing this bug as fixed
Comment 3•23 years ago
|
||
Verified with mozilla branch NETSCAPE_6_2_RELEASE and blackwood branch from
trunk. IOException is really throwned.
Changed QA Contact and added myself to CC list.
Status: RESOLVED → VERIFIED
QA Contact: leila.garin → avm
Updated•13 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•