java - Constructor of Reflections not running correctly -
i using reflections
library (see info) classes within package. using following code:
public static void build() { system.out.println("start reflection"); reflections reflections = new reflections("org.octocash.client.support.cache"); system.out.println("done constructor"); set<class<?>> dataclasses = reflections.getsubtypesof(object.class) .stream().filter(c -> !c.getclass().equals(data.class)) .collect(collectors.toset()); data.addall(dataclasses); }
the problem prints "start reflection"
in console, unable run constructor. if surround code try-catch block, not printing exception
either.
i using uberjar reflections
(not using maven), maybe has this.
what happening here? totally in dark on how debug this..
any appreciated!
Comments
Post a Comment