Uploaded image for project: 'Spring Data Commons'
  1. Spring Data Commons
  2. DATACMNS-1095

ClassGeneratingEntityInstantiator never gets used as ObjectInstantiator is not visible

    XMLWordPrintable

    Details

    • Sprint:
      Kay RC1

      Description

      Due to ObjectInstantiator being declared as private static interface, loading the implementation class created via ASM in ClassGeneratingEntityInstantiator always fails with:

      java.lang.IllegalAccessError: class org.springframework.data.convert.ClassGeneratingEntityInstantiatorUnitTests$… cannot access its superinterface org.springframework.data.convert.ClassGeneratingEntityInstantiator$ObjectInstantiator
      

      The interface needs to be explicitly declared public to avoid that exception.

        Attachments

          Activity

            People

            Assignee:
            olivergierke Oliver Drotbohm
            Reporter:
            olivergierke Oliver Drotbohm
            Last updater:
            Oliver Drotbohm
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: