parent
8e90785ff0
commit
0b3d9d8bad
@ -0,0 +1,34 @@
|
||||
From ba54939f91df70a046c19c73f52f4e0d3ed7dc0b Mon Sep 17 00:00:00 2001
|
||||
From: Sergey Cherevko <s.cherevko@msvsphere-os.ru>
|
||||
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 <a href="mailto:david.lloyd@redhat.com">David M. Lloyd</a>
|
||||
@@ -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
|
||||
|
Loading…
Reference in new issue