Uploaded image for project: 'JBoss Modules'
  1. JBoss Modules
  2. MODULES-234

ModularPermissionFactory does not log an exception in the construct method

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.2.0.Final, 2.1.6.Final
    • 1.2.6.Final
    • None
    • None

      ModularPermissionFactory in its construct method eats a Throwable when a permission instantiation failed, see [1]. This makes difficult to figure out why the permission could not be loaded. The Throwable should be logged.

      [1] https://github.com/jboss-modules/jboss-modules/blob/master/src/main/java/org/jboss/modules/security/ModularPermissionFactory.java#L81

              ropalka Richard Opalka
              istudens@redhat.com Ivo Studensky
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: