From c6fac931a734171d2644cd392ca7076ac7cfeb2a Mon Sep 17 00:00:00 2001 From: Fred Bricon Date: Mon, 30 Oct 2023 13:10:23 +0100 Subject: [PATCH] Make LookupJDKToolchainsJob detection less prone to failures Change-Id: I50de3b63eecd007f5a7a92bdfe6299326ad5d634 Signed-off-by: Fred Bricon --- m2e-core-tests | 2 +- .../src/org/eclipse/m2e/jdt/LookupJDKToolchainsJob.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/m2e-core-tests b/m2e-core-tests index 4c6884c805..21283961e7 160000 --- a/m2e-core-tests +++ b/m2e-core-tests @@ -1 +1 @@ -Subproject commit 4c6884c805cbf39adc4cb9e2d2dd22af6340a0e6 +Subproject commit 21283961e7e99c3c8b662660bc6b7e83b873abe3 diff --git a/org.eclipse.m2e.jdt/src/org/eclipse/m2e/jdt/LookupJDKToolchainsJob.java b/org.eclipse.m2e.jdt/src/org/eclipse/m2e/jdt/LookupJDKToolchainsJob.java index 6f22cdd8da..124133ba16 100644 --- a/org.eclipse.m2e.jdt/src/org/eclipse/m2e/jdt/LookupJDKToolchainsJob.java +++ b/org.eclipse.m2e.jdt/src/org/eclipse/m2e/jdt/LookupJDKToolchainsJob.java @@ -58,7 +58,7 @@ protected IStatus run(IProgressMonitor monitor) { } addToolchain(toolchain); } - } catch(IOException e) { + } catch(Exception e) { return Status.error(e.getMessage(), e); } }