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

Avoid anonymous classes inside lambdas

    XMLWordPrintable

Details

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

    Description

      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.
      

      Attachments

        Activity

          People

            dberinde@redhat.com Dan Berindei (Inactive)
            dberinde@redhat.com Dan Berindei (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: