Makes exception types generic in ThrowableUtil

This commit is contained in:
2023-03-11 12:16:09 +01:00
parent df46026457
commit f1ef4e1927
3 changed files with 18 additions and 18 deletions

View File

@@ -10,7 +10,7 @@ import java.lang.reflect.Modifier;
public final class ReflectField<T> extends ReflectMember<T, String, Field, NoSuchFieldException> {
/* Those fields are used to modify the value of a static variable. Depending of the current Java version,
* one of them whill be used for this purpose.
* one of them will be used for this purpose.
*/
private static sun.misc.Unsafe sunMiscUnsafeInstance;
private static Field modifiersFieldInFieldClass;