Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4290486

thread creation needs to be inside doPrivileged to work with J2EE

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.3.0
    • 1.3.0
    • core-libs
    • None
    • kestrel
    • sparc
    • solaris_2.6

      J2EE restricts components from creating threads.
      The LDAP provider uses threads for connection management.
      The J2EE restriction would disallow a component from using LDAP
      unless the container grants the component permission to create threads,
      which is against the recommendations of the J2EE spec.

      The container should be able to grant permission to the LDAP provider
      for creating threads without granting this in general to the component.
      The fix is to put doPrivileged around thread creation.

            rleesunw Rosanna Lee (Inactive)
            rleesunw Rosanna Lee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: