Minor, add FQ name to avoid clash
Maven build compiles runtime.jvm and reflection.jvm together and IllegalAccessException is ambiguous between java.lang and kotlin.reflect
This commit is contained in:
@@ -34,7 +34,7 @@ public class Reflection {
|
||||
catch (ClassCastException e) { impl = null; }
|
||||
catch (ClassNotFoundException e) { impl = null; }
|
||||
catch (InstantiationException e) { impl = null; }
|
||||
catch (IllegalAccessException e) { impl = null; }
|
||||
catch (java.lang.IllegalAccessException e) { impl = null; }
|
||||
|
||||
factory = impl != null ? impl : new ReflectionFactory();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user