jboss-modules/jboss-modules — pull request #52 by soul2zimate (2014-08-01 08:04:58+00:00)
Title: Avoid potential NullPointerException in ModulesPolicy getPermissions() and implies()

Issue is described in https://bugzilla.redhat.com/show_bug.cgi?id=1122580
Although I can not reproduce same error in EAP6 with IBM JDK6, it should avoid potential NullPointException as the return of CodeSource in ProtectionDomain may be null.