gmuecke / 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

Classpath helper fails with default package #183

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Call org.reflections.util.ClasspathHelper.forClass() with a class which is 
located in the default package.

What is the expected output? What do you see instead?

Expected output is the URL to the class passed as argument.
The following exception occurs:
Exception in thread "main" java.lang.NullPointerException
at org.reflections.util.ClasspathHelper.forClass(ClasspathHelper.java:90)

What version of the product are you using? On what operating system?

0.9.9-RC1, pulled from Maven, on Windws 7 64 bit with Oracle JDK 1.8

Original issue reported on code.google.com by martin.d...@web.de on 8 Oct 2014 at 10:28