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

Avoid anonymous classes inside lambdas

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Done
    • 9.2.1.Final
    • 9.3.0.Alpha1
    • 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
            dberinde@redhat.com Dan Berindei
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: