This is an automated email from the ASF dual-hosted git repository.

mattsicker pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git

commit 051c6cb85cc00131f55815cd41c93da0ee0adf19
Author: Matt Sicker <[email protected]>
AuthorDate: Sat Nov 5 13:22:50 2022 -0500

    Revert "Note more exception possibilities"
    
    This reverts commit a6c877192f636dd16cdec8ad058a8941e6c462a9.
---
 log4j-api/src/main/java/org/apache/logging/log4j/util3/LoaderUtil.java | 3 ---
 1 file changed, 3 deletions(-)

diff --git 
a/log4j-api/src/main/java/org/apache/logging/log4j/util3/LoaderUtil.java 
b/log4j-api/src/main/java/org/apache/logging/log4j/util3/LoaderUtil.java
index f84707b83b..bfaace4f88 100644
--- a/log4j-api/src/main/java/org/apache/logging/log4j/util3/LoaderUtil.java
+++ b/log4j-api/src/main/java/org/apache/logging/log4j/util3/LoaderUtil.java
@@ -223,7 +223,6 @@ public final class LoaderUtil {
      * @param className The class name.
      * @return the Class for the given name.
      * @throws ClassNotFoundException if the specified class name could not be 
found
-     * @throws LinkageError if the linkage fails
      * @since 2.1
      */
     public static Class<?> loadClass(final String className) throws 
ClassNotFoundException {
@@ -268,7 +267,6 @@ public final class LoaderUtil {
      * @param <T> The class's type.
      * @return new instance of the class.
      * @throws ClassNotFoundException if the class isn't available to the 
usual ClassLoaders
-     * @throws LinkageError if the linkage fails
      * @throws IllegalAccessException if the class can't be instantiated 
through a public constructor
      * @throws InstantiationException if there was an exception whilst 
instantiating the class
      * @throws InvocationTargetException if there was an exception whilst 
constructing the class
@@ -288,7 +286,6 @@ public final class LoaderUtil {
      * @param <T> The type of the class to check.
      * @return new instance of the class cast to {@code T}
      * @throws ClassNotFoundException if the class isn't available to the 
usual ClassLoaders
-     * @throws LinkageError if the linkage fails
      * @throws IllegalAccessException if the class can't be instantiated 
through a public constructor
      * @throws InstantiationException if there was an exception whilst 
instantiating the class
      * @throws InvocationTargetException if there was an exception whilst 
constructing the class

Reply via email to