Skip to content

Commit

Permalink
[jsscripting] Move superclass call of beforeInvocation
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Hotze <[email protected]>
  • Loading branch information
florian-h05 committed Dec 19, 2022
1 parent 3fb2e19 commit 9289764
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@ public Path toRealPath(Path path, LinkOption... linkOptions) throws IOException

@Override
protected void beforeInvocation() {
super.beforeInvocation();

lock.lock();

if (initialized) {
Expand Down Expand Up @@ -230,8 +232,6 @@ protected void beforeInvocation() {
} catch (ScriptException e) {
LOGGER.error("Could not inject global script", e);
}

super.beforeInvocation();
}

@Override
Expand Down

0 comments on commit 9289764

Please sign in to comment.