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

Small javalib changes #2533

Merged
merged 2 commits into from Jul 15, 2016
Merged

Conversation

sjrd
Copy link
Member

@sjrd sjrd commented Jul 14, 2016

Supersedes #2386 and #2472, which were lacking follow up from their authors.

sjrd added 2 commits July 14, 2016 21:26
In the process of fixing `close()`, this fixes the behavior of
`skip()` on a closed stream, which should also throw an
`IOException`.
@sjrd
Copy link
Member Author

sjrd commented Jul 14, 2016

Review by @nicolasstucki

@scala-jenkins
Copy link

Refer to this link for build results (access rights to CI server needed):

https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/3306/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/4296/
Test PASSed.

val src = new AnyRef
val e = new EventObject(src)
assertSame(src, e.getSource)
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As source is a protected var I would check that we can modify it from a class that extends from EventObject. Mainly to check that the JVM behaves the same way.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See the commented test down below.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, missed it.

@nicolasstucki
Copy link
Contributor

That is all.
Otherwise LGTM.

@nicolasstucki nicolasstucki merged commit 407b0f4 into scala-js:master Jul 15, 2016
@sjrd sjrd deleted the small-javalib-changes branch August 20, 2016 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants