title: Reflections - Java 8 - invalid constant type
body: <p>I have a problem with <a href="https://code.google.com/p/reflections/">Reflections</a> library.
  I am trying to load dynamically all classes which implement specific interface.
  Everything works fine (all classes are loaded) as long as I do not use lambda expression in these classes (java 8).
  I tried upgrade lib version but effect was the same (java.io.IOException: invalid constant type: 18).</p>
  
  <p>Dependency and build in pom.xml</p>
  
  <pre><code>      &lt;dependency&gt;
          &lt;groupId&gt;org.reflections&lt;/groupId&gt;
          &lt;artifactId&gt;reflections&lt;/artifactId&gt;
          &lt;version&gt;0.9.10&lt;/version&gt;
          &lt;exclusions&gt;
              &lt;exclusion&gt;
                  &lt;groupId&gt;javassist&lt;/groupId&gt;
                  &lt;artifactId&gt;javassist&lt;/artifactId&gt;
              &lt;/exclusion&gt;
          &lt;/exclusions&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;org.javassist&lt;/groupId&gt;
          &lt;artifactId&gt;javassist&lt;/artifactId&gt;
          &lt;version&gt;3.19.0-GA&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;build&gt;
      &lt;plugins&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
              &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
              &lt;configuration&gt;
                  &lt;source&gt;1.8&lt;/source&gt;
                  &lt;target&gt;1.8&lt;/target&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
      &lt;/plugins&gt;
      &lt;/build&gt;
  </code></pre>
  
  <p>without exclusion is the same effect.</p>
  
  <p>Code:</p>
  
  <pre><code>    URL jarUrl = jarFile.toURI().toURL();
      URLClassLoader child = new URLClassLoader(new URL[]{jarUrl}, this.getClass().getClassLoader());
      ConfigurationBuilder builder = new ConfigurationBuilder()
              .addClassLoader(child)
              .addUrls(jarUrl)
              .setScanners(new SubTypesScanner());
      Reflections r = new Reflections(builder);
      return r.getSubTypesOf(cls);
  </code></pre>
  
  <p>How can I load classes with lambda expression?</p>
  
  <p>P.S Sorry for English :)</p>