Convert LambdaMetaFactory to create hidden classes

XMLWordPrintable

    • Type: Sub-task
    • Resolution: Delivered
    • Priority: P2
    • repo-valhalla
    • Affects Version/s: 15
    • Component/s: core-libs
    • None

      The current implementation of LambdaMetaFactory creates VM-anonymous class which does not conform to the standard access control rules.

      This issue tracks the conversion of LambdaMetaFactory from using VM-anonymous class to hidden class.

      A hidden class is subject to standard access control rules.

      One non-standard access that VM-anonymous class has is that
      a VM-anonymous class can always access protected members of a superclass in a different package, which is not allowed by the rules of JVMS 5.4.4.

            Assignee:
            Mandy Chung (Inactive)
            Reporter:
            Mandy Chung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: