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

use java 7 exception constructor to avoid filling stacktrace #240

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sdorra
Copy link

@sdorra sdorra commented Nov 21, 2019

This change uses the four parameter constructor of Throwable in order to avoid filling the stacktrace. This is required, because the guardException.setStackTrace(new StackTraceElement[0]); seams to be not enough to avoid classloader leaks.

@ghost
Copy link

ghost commented Nov 21, 2019

DeepCode Report (#ea3c96)

DeepCode analyzed this pull request.
There are no new issues.

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

1 participant