kamranzafar/JCL — pull request #3 by harbulot (2012-05-11 20:25:52+00:00)
Title: Trying to load a classes in the unnamed package cause an exception

If the class is in the unnamed package, the index of the last dot is -1, which causes `substring` to throw a `StringIndexOutOfBoundsException`.

Here is a patch that fixes the problem.