diff --git a/make/jdk/src/classes/build/tools/dtdbuilder/DTDParser.java b/make/jdk/src/classes/build/tools/dtdbuilder/DTDParser.java index 8b3bf7a1a80..6c8c40d354e 100644 --- a/make/jdk/src/classes/build/tools/dtdbuilder/DTDParser.java +++ b/make/jdk/src/classes/build/tools/dtdbuilder/DTDParser.java @@ -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. * * This code is free software; you can redistribute it and/or modify it @@ -919,8 +919,6 @@ class DTDParser implements DTDConstants { } catch (Exception e) { error("exception", e.getClass().getName(), e.getMessage()); e.printStackTrace(); - } catch (ThreadDeath e) { - error("terminated"); } return (nerrors > 0) ? null : dtd; }