Skip to content

Commit

Permalink
Workaround for jt400 native failure
Browse files Browse the repository at this point in the history
  • Loading branch information
JiriOndrusek committed Jan 6, 2025
1 parent 7e93c6b commit ea53e35
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ public boolean isInPasswordExpirationWarningDays() throws AS400SecurityException
//skip verification, because it cen end with GUi dialog
return false;
}

@Substitute
//workaround because of https://github.com/apache/camel-quarkus/issues/6889
synchronized void signon(boolean keepConnection) throws AS400SecurityException, IOException {
throw new RuntimeException("Signon is not supported in the native mode.");
}
}

//even if gui is turned off, the presence of code in Dialogs, which references awt object, causes the java.lang.Thread
Expand Down

0 comments on commit ea53e35

Please sign in to comment.