From f7095aa10f23bf39da6c5448dad3c751bd53086b Mon Sep 17 00:00:00 2001 From: JoeWang-Java Date: Fri, 27 Oct 2023 22:11:51 +0000 Subject: [PATCH] add IAE --- .../share/classes/javax/xml/catalog/CatalogResolver.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/java.xml/share/classes/javax/xml/catalog/CatalogResolver.java b/src/java.xml/share/classes/javax/xml/catalog/CatalogResolver.java index 64907e21e3086..3fd4b6a7858fd 100644 --- a/src/java.xml/share/classes/javax/xml/catalog/CatalogResolver.java +++ b/src/java.xml/share/classes/javax/xml/catalog/CatalogResolver.java @@ -281,6 +281,8 @@ static public NotFoundAction getType(String resolve) { return type; } } + CatalogMessages.reportIAE(CatalogMessages.ERR_INVALID_ARGUMENT, + new Object[]{resolve, "RESOLVE"}, null); return null; } }