Nudity / reflections

Automatically exported from code.google.com/p/reflections
Do What The F*ck You Want To Public License
0 stars 0 forks source link

Problem with Filter under Java 8 #189

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Run code
Reflections reflections = new Reflections(
                new ConfigurationBuilder()
                        ...
                        .filterInputsBy(new FilterBuilder().include(FilterBuilder.prefix(basePackage))));
Set<Class<?>> classSet = reflections.getSubTypesOf(Object.class)

What is the expected output? What do you see instead?
I received: classSet >> empty set
Expected: classSet >> consists of classes from my basePackage

What version of the product are you using? On what operating system?
0.9.9 (0.9.9-RC1, 0.9.9-RC2)
Java 8

Please provide any additional information below.
I ran my code under Java 7 and classSet was not empty.

Original issue reported on code.google.com by vishka.n...@gmail.com on 6 Apr 2015 at 2:55

GoogleCodeExporter commented 8 years ago
Kindly provide more info - what is the classes full names, what is the base 
package name, does this happen without specifying input filter (under java 8)

Original comment by ronm...@gmail.com on 25 Apr 2015 at 7:20