Skip to content

this.this$0 fix; ResettableStream interface removed - #35

Merged
BobHanson merged 3 commits into
java2script:masterfrom
BobHanson:master
Mar 28, 2018
Merged

this.this$0 fix; ResettableStream interface removed#35
BobHanson merged 3 commits into
java2script:masterfrom
BobHanson:master

Conversation

@BobHanson

Copy link
Copy Markdown
Collaborator

fix for anonymous class in inner class calling outer class method

removing ResettableStream

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 37a6916 into java2script:master Mar 28, 2018
BobHanson added a commit that referenced this pull request Jul 23, 2018
from java2script to BobHanson
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