Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-9030

Avoid anonymous classes inside lambdas

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Minor Minor
    • 9.3.0.Final
    • 9.2.1.Final
    • Build
    • None

      IntelliJ's incremental compilation sometimes breaks down when recompiling an anonymous class declared inside a lambda:

      Error:java: cannot access org.infinispan.query.dsl.embedded.impl.HibernateSearchPropertyHelper$2
        bad class file: /home/dan/Work/jdg/query/target/classes/org/infinispan/query/dsl/embedded/impl/HibernateSearchPropertyHelper$2.class
      	bad enclosing method attribute for class org.infinispan.query.dsl.embedded.impl.HibernateSearchPropertyHelper$2
      	Please remove or make sure it appears in the correct subdirectory of the classpath.
      

              dberinde@redhat.com Dan Berindei (Inactive)
              dberinde@redhat.com Dan Berindei (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: