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(kernel + java): skip overrides of private methods/properties #254

Merged
merged 6 commits into from
Oct 8, 2018

Conversation

eladb
Copy link
Contributor

@eladb eladb commented Oct 3, 2018

jsii-kernel will ignore override requests for methods/properties that
resolve on the object but are not defined in the public API of the
type.

java runtime will not request overrides for methods/properties that
use "private" accessibility.

Fixes #244

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Elad Ben-Israel added 2 commits September 26, 2018 10:52
jsii-kernel will ignore override requests for methods/properties that
resolve on the object but are not defined in the public API of the
type.

java runtime will not request overrides for methods/properties that
use "private" accessibility.

Fixes #244
@eladb eladb requested a review from RomainMuller October 3, 2018 16:16
Elad Ben-Israel added 3 commits October 5, 2018 21:24
jsii-kernel will ignore override requests for methods/properties that
resolve on the object but are not defined in the public API of the
type.

java runtime will not request overrides for methods/properties that
use "private" accessibility.

Fixes #244
@eladb
Copy link
Contributor Author

eladb commented Oct 6, 2018

@RomainMuller let me know if this looks okay

@eladb eladb merged commit 7e600f9 into master Oct 8, 2018
@rix0rrr rix0rrr deleted the benisrae/private-overrides branch April 16, 2019 09:58
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.

java/kernel: overrides should not be created for private methods/properties
2 participants