8294271: Remove use of ThreadDeath from make utilities
Reviewed-by: ihse, shade, alanb
This commit is contained in:
parent
e45f3d5176
commit
2e20e7ec0f
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 1998, 2016, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 1998, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -919,8 +919,6 @@ class DTDParser implements DTDConstants {
|
|||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
error("exception", e.getClass().getName(), e.getMessage());
|
error("exception", e.getClass().getName(), e.getMessage());
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
} catch (ThreadDeath e) {
|
|
||||||
error("terminated");
|
|
||||||
}
|
}
|
||||||
return (nerrors > 0) ? null : dtd;
|
return (nerrors > 0) ? null : dtd;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user