Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-2425

Correct the way Weld chooses proxy packages for signed classes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.0.2.Final, 2.4.6.Final
    • 3.0.1.Final, 2.4.5.Final
    • Proxies
    • None

      Continuation of WELD-2402 - we found out that the fix was only partial and introduced problems in existing applications which relied on package private access in signed packages with proxies.

      All proxies of signed classes can be placed in original packages except for those where bean types of proxied bean equal to Object.class.
      The reason why it can be the same package is that Weld re-uses the ProtectionDomain of the proxied bean type for newly created proxy - that way the signers of that class will effectively remain the same.

            manovotn Matěj Novotný
            manovotn Matěj Novotný
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: