Uploaded image for project: 'SLF4J'
  1. SLF4J
  2. SLF4J-322

Cannot use slf4j unsigned applet since 1.7.9

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.7.x
    • Fix Version/s: None
    • Component/s: Core API
    • Labels:
      None
    • Environment:

      jdk 1.7

    • Priority:
      P2

      Description

      cannot init class LoggerFactory in applet

      Proposal change like:

      static boolean DETECT_LOGGER_NAME_MISMATCH
      static {
      try

      { DETECT_LOGGER_NAME_MISMATCH = Boolean.getBoolean(DETECT_LOGGER_NAME_MISMATCH_PROPERTY); }

      catch(Exception e)

      { DETECT_LOGGER_NAME_MISMATCH=false; }

      }

      Caused by: java.security.AccessControlException: access denied ("java.util.PropertyPermission" "slf4j.detectLoggerNameMismatch" "read")
      at java.security.AccessControlContext.checkPermission(Unknown Source)
      at java.security.AccessController.checkPermission(Unknown Source)
      at java.lang.SecurityManager.checkPermission(Unknown Source)
      at sun.plugin2.applet.AWTAppletSecurityManager.checkPermission(Unknown Source)
      at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
      at java.lang.System.getProperty(Unknown Source)
      at java.lang.Boolean.getBoolean(Unknown Source)
      at org.slf4j.LoggerFactory.<clinit>(LoggerFactory.java:88)

        Attachments

          Activity

            People

            • Assignee:
              slf4j-dev SLF4J developers list
              Reporter:
              yuedaxia yueming
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: