You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2013/11/29 16:32:36 UTC

[jira] [Resolved] (FELIX-4336) The use of inheritable thread locals in ThreadIO can cause problems

     [ https://issues.apache.org/jira/browse/FELIX-4336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet resolved FELIX-4336.
------------------------------------

       Resolution: Fixed
    Fix Version/s: gogo.runtime-0.12.0

Committing to https://svn.apache.org/repos/asf/felix/trunk ...
	M	gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/threadio/Marker.java
	M	gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/threadio/ThreadIOImpl.java
	M	gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/threadio/ThreadInputStream.java
	M	gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/threadio/ThreadPrintStream.java
Committed r1546581


> The use of inheritable thread locals in ThreadIO can cause problems
> -------------------------------------------------------------------
>
>                 Key: FELIX-4336
>                 URL: https://issues.apache.org/jira/browse/FELIX-4336
>             Project: Felix
>          Issue Type: Bug
>          Components: Gogo Runtime
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>             Fix For: gogo.runtime-0.12.0
>
>
> The main problem is that if threads outlive the console that owns the stream, those threads will always read out write to closed streams.
> The use of inherited thread local is fine but should be smarter.



--
This message was sent by Atlassian JIRA
(v6.1#6144)