Uploaded image for project: 'CDI TCK'
  1. CDI TCK
  2. CDITCK-466

AddingPassivatingScopeTest is illegal as addScope for passivating non-normalscopes is perfectly fine

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • TBD
    • 1.2.4.Final
    • None
    • None

    Description

      AddingPassivatingScopeTest is illegal as addScope for passivating non-normalscopes is perfectly fine.
      There is nothing in the spec which says that a non-normalscope cannot be passivating.

      The practical use case for this is e.g. when bridging over to Spring. Those beans might need to get checked for Serializable BUT spring brings it's own proxies. So we do not need to wrap it into just another normalscoping proxy.

      Actually the test should come in 2 flavours:
      1.) RomanEmpire being Serializable -> all fine must work
      2.) RomainEmpire not Serializable -> DefinitionException

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              struberg Mark Struberg (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                PagerDuty