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

java.lang.Thread specification does not requires setDaemon() to call checkAccess

XMLWordPrintable

    • kestrel
    • sparc
    • solaris_2.4



      Name: akC45999 Date: 09/17/97


      Specification of java.lang.Thread.setDaemon() method, unlike the one
      of java.lang.Thread.setPriority() and java.lang.Thread.setName(),
      says nothing about call to checkAccess(). But ability to set daemon flag
      is important feature, which cannot be granted to arbitrary thread.
      Javasoft's JDK does consults checkAccess(), and this is good.

      ======================================================================

            gbrachasunw Gilad Bracha (Inactive)
            rfqsunw Rfq Rfq (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: