From ba54939f91df70a046c19c73f52f4e0d3ed7dc0b Mon Sep 17 00:00:00 2001 From: Sergey Cherevko Date: Mon, 4 Dec 2023 13:37:20 +0300 Subject: [PATCH] Fixed the build failure --- src/main/java/org/jboss/jdeparser/Assertions.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/jboss/jdeparser/Assertions.java b/src/main/java/org/jboss/jdeparser/Assertions.java index 017c645..ca9b1a1 100644 --- a/src/main/java/org/jboss/jdeparser/Assertions.java +++ b/src/main/java/org/jboss/jdeparser/Assertions.java @@ -18,7 +18,7 @@ package org.jboss.jdeparser; -import sun.reflect.Reflection; +//import sun.reflect.Reflection; /** * @author David M. Lloyd @@ -26,7 +26,7 @@ import sun.reflect.Reflection; class Assertions { static boolean callerIs(Class clazz) { try { - return Reflection.getCallerClass(3) == clazz; + // return Reflection.getCallerClass(3) == clazz; } catch (Throwable ignored) {} // dunno return true; -- 2.39.3