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

(thread) Thread.setContextClassLoader should create permission only once

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 1.2.0, 7
    • core-libs
    • None
    • generic, sparc
    • generic, solaris_10

      Thread.setContextClassLoader creates a new RuntimePermission every time it is called. This method gets called on every RMI call. The permission should only be created once, and kept in a static.

            psoper Pete Soper (Inactive)
            bscheiflsunw Bob Scheifler (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: