Skip to content

use java 7 exception constructor to avoid filling stacktrace#240

Open
sdorra wants to merge 1 commit intospullara:masterfrom
sdorra:master
Open

use java 7 exception constructor to avoid filling stacktrace#240
sdorra wants to merge 1 commit intospullara:masterfrom
sdorra:master

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.

1 participant