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

Muzzle should fail on unimplemented abstract methods #1193

Merged
merged 6 commits into from
Sep 23, 2020

Conversation

mateuszrzeszutek
Copy link
Member

@mateuszrzeszutek mateuszrzeszutek commented Sep 11, 2020

Resolves #1123

@trask
Copy link
Member

trask commented Sep 12, 2020

Thank you for tackling this ❤️👍

@mateuszrzeszutek mateuszrzeszutek changed the title [WORK IN PROGRESS] Muzzle should fail on unimplemented abstract methods Muzzle should fail on unimplemented abstract methods Sep 18, 2020
@mateuszrzeszutek mateuszrzeszutek marked this pull request as ready for review September 18, 2020 16:10
@iNikem
Copy link
Contributor

iNikem commented Sep 18, 2020

Hei, @mateuszrzeszutek, maybe you can help @trask with #536 ;)

@trask
Copy link
Member

trask commented Sep 21, 2020

Hei, @mateuszrzeszutek, maybe you can help @trask with #536 ;)

💯

@mateuszrzeszutek I will review this PR tomorrow 👍

@mateuszrzeszutek
Copy link
Member Author

Hei, @mateuszrzeszutek, maybe you can help @trask with #536 ;)

Sure - after implementing this change I think I can answer at least half of these questions. I'll put it on my TODO list and push a PR soon.

Copy link
Member

@trask trask left a comment

Choose a reason for hiding this comment

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

have you tried to see if this would have caught the ServletOutputStream issue? i gave it a try, but muzzle still didn't fail for me on unimplemented ServletOutputStream methods

…ling/muzzle/Reference.java

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
@mateuszrzeszutek
Copy link
Member Author

have you tried to see if this would have caught the ServletOutputStream issue? i gave it a try, but muzzle still didn't fail for me on unimplemented ServletOutputStream methods

You're right, I unknowingly introduced a bug when I was refactoring the first working version. Thanks for noticing it! I'll add a unit test that covers this specific scenario.

Copy link
Member

@trask trask left a comment

Choose a reason for hiding this comment

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

🎉🎉

@iNikem iNikem merged commit 3d03028 into open-telemetry:master Sep 23, 2020
@mateuszrzeszutek mateuszrzeszutek deleted the muzzle2 branch November 18, 2022 10:26
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.

Muzzle should fail on unimplemented abstract methods
3 participants