Skip to content

Yadav1 - #14

Merged
BobHanson merged 2 commits into
masterfrom
yadav1
Mar 28, 2018
Merged

Yadav1#14
BobHanson merged 2 commits into
masterfrom
yadav1

Conversation

@BobHanson

Copy link
Copy Markdown
Owner

fixes this.this$0 issue for anonymous classes within inner classes referencing outer class methods.
Removes ResettableStream interface, as ByteArrayInputStream already has reset(), and for no buffered stream is it safe to do this.

The only safe stream to reset is ByteArrayInputStream, and it already
has a reset() method.
anonymous class cannot call this.this$0 with the way Clazz.newClass
works in that the anonymous class is a package-level entity, not a
class-level one.
@BobHanson
BobHanson merged commit 66cf46d into master Mar 28, 2018
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.

1 participant