Skip to content
This repository was archived by the owner on Mar 24, 2025. It is now read-only.

OOZIE-3716 [sharelib-oozie] Fix complete message order #88

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -410,9 +410,6 @@ private boolean runActionMain(final ErrorHolder eHolder) throws Exception {
// Enable LauncherSecurityManager to catch System.exit calls
launcherSecurityManager.enable();
mainMethod.invoke(null, (Object) mainArgs);
System.out.println();
System.out.println("<<< Invocation of Main class completed <<<");
System.out.println();
actionMainExecutedProperly = true;
} catch (InvocationTargetException ex) {
actionMainExecutedProperly = handleInvocationError(eHolder, ex);
Expand All @@ -426,6 +423,11 @@ private boolean runActionMain(final ErrorHolder eHolder) throws Exception {
} finally {
// Disable LauncherSecurityManager
launcherSecurityManager.disable();
if (actionMainExecutedProperly) {
System.out.println();
System.out.println("<<< Invocation of Main class completed <<<");
System.out.println();
}
}
return actionMainExecutedProperly;
}
Expand Down