Uploaded image for project: 'OpenWebBeans'
  1. OpenWebBeans
  2. OWB-565

missing check for producer methods

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.1.0
    • 1.1.3
    • Context and Scopes
    • None

    Description

      if a producer methods creates a normal scoped bean (@NormalScope(passivating=true)) there is no check if the type of the bean implements Serializable
      -> SerializableBeanVault#getSerializableBean returns null -> NPE

      since a producer method might produce a serializable implementation, a runtime-check should be considered instead of a static check.

      Attachments

        Activity

          People

            struberg Mark Struberg
            gpetracek Gerhard Petracek
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: