Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-5257

[drlvm][class_support] wrong IllegalAccessError for array of protected inner classes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.0M4
    • DRLVM
    • None
    • Patch Available

    Description

      The ArgoUML start fails with IllegalAccessError:
      java.lang.IllegalAccessError: from org/netbeans/mdr/handlers/gen/PackageGenerator to [Lorg/netbeans/lib/jmi/util/ClassFileGenerator$MethodInfo;
      at org.netbeans.mdr.handlers.gen.PackageGenerator.generateMethods(PackageGenerator.java:132)
      at org.netbeans.lib.jmi.util.ClassFileGenerator.generateClassFile(ClassFileGenerator.java:162)
      at org.netbeans.mdr.handlers.gen.HandlerGenerator.generateHandler(HandlerGenerator.java:90)
      at org.netbeans.mdr.handlers.BaseObjectHandler.getHandlerClass(BaseObjectHandler.java:108)
      at org.netbeans.mdr.NBMDRepositoryImpl.getHandler(NBMDRepositoryImpl.java:631)
      at org.netbeans.mdr.NBMDRepositoryImpl.getHandler(NBMDRepositoryImpl.java:613)
      at org.netbeans.mdr.NBMDRepositoryImpl.getExtent(NBMDRepositoryImpl.java:314)
      at org.netbeans.mdr.NBMDRepositoryImpl.installFakeMof(NBMDRepositoryImpl.java:1332)
      at org.netbeans.mdr.NBMDRepositoryImpl.boot(NBMDRepositoryImpl.java:1315)
      at org.netbeans.mdr.NBMDRepositoryImpl.initCheck(NBMDRepositoryImpl.java:749)
      at org.netbeans.mdr.NBMDRepositoryImpl.getExtent(NBMDRepositoryImpl.java:298)
      at org.argouml.model.mdr.MDRModelImplementation.<init>(MDRModelImplementation.java:254)
      at java.lang.reflect.VMReflection.newClassInstance(VMReflection.java)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:283)
      at java.lang.Class.newInstance(Class.java:700)
      at org.argouml.model.Model.<clinit>(Model.java:124)
      at org.argouml.application.Main.main(Main.java:250)

      Attachments

        1. H5257test.diff
          3 kB
          Alexey Varlamov
        2. H5257fix.diff
          1 kB
          Alexey Varlamov

        Activity

          People

            varlax Alexey Varlamov
            varlax Alexey Varlamov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: