You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Ernie Rael (Jira)" <ji...@apache.org> on 2020/04/23 16:37:00 UTC
[jira] [Commented] (NETBEANS-4203)
org.netbeans.api.io.InputOutput.reset() doesn't work
[ https://issues.apache.org/jira/browse/NETBEANS-4203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17090749#comment-17090749 ]
Ernie Rael commented on NETBEANS-4203:
--------------------------------------
Here's a workaround that can be adapted to particular needs
{code:java}
if(true) {
// WORK AROUND RESET PROBLEM
io.close();
io = IOProvider.getDefault().getIO(tabTag, anyFlag);
} else {
io.reset();
}
{code}
> org.netbeans.api.io.InputOutput.reset() doesn't work
> ----------------------------------------------------
>
> Key: NETBEANS-4203
> URL: https://issues.apache.org/jira/browse/NETBEANS-4203
> Project: NetBeans
> Issue Type: Bug
> Components: platform - Output Window
> Reporter: Ernie Rael
> Priority: Major
> Attachments: InputOutputReset.jar
>
>
> Test module is attached. The module installs an action "Tools > Input OutputReset Test"
> This test is taken verbatim from the _I/O API SPI Overview_, it is UseCase5:
> [https://bits.netbeans.org/dev/javadoc/org-netbeans-api-io/overview-summary.html]
> with the "io.show()" added to simplify the observation of the failure.
> After running the test, the output window should only have
> {code:java}
> The pane is now empty and we can reuse it simply
> {code}
> It doesn't; in addition the data from before the "reset()" is still there.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists