Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix #23416 instantiate exceptions at right time #23417

Merged
merged 1 commit into from Aug 9, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -114,7 +114,7 @@ private[stream] object InputStreamSinkStage {
var isInitialized = false
var isActive = true
var isStageAlive = true
val subscriberClosedException = new IOException("Reactive stream is terminated, no reads are possible")
def subscriberClosedException = new IOException("Reactive stream is terminated, no reads are possible")
var detachedChunk: Option[ByteString] = None

@scala.throws(classOf[IOException])
Expand Down
Expand Up @@ -161,7 +161,7 @@ private[akka] class OutputStreamAdapter(

var isActive = true
var isPublisherAlive = true
val publisherClosedException = new IOException("Reactive stream is terminated, no writes are possible")
def publisherClosedException = new IOException("Reactive stream is terminated, no writes are possible")

@scala.throws(classOf[IOException])
private[this] def send(sendAction: () ⇒ Unit): Unit = {
Expand Down