Details

    • Type: Sub-task
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: JBossCL.2.0.7.CR1
    • Component/s: None
    • Labels:
      None

      Description

      http://anonsvn.jboss.org/repos/jbossas/projects/jboss-cl/trunk/classloading-vfs/src/main/java/org/jboss/classloading/spi/vfs/policy/VFSClassLoaderPolicy.java

      ===================
      @Override
      protected ProtectionDomain getProtectionDomain(String className, String path)
      {
      VirtualFile clazz = findChild(path);
      if (clazz == null)

      { log.trace("Unable to determine class file for " + className); return null; }

      try

      { VirtualFile root = findRoot(path); URL codeSourceURL = root.toURL(); Certificate[] certs = null; // TODO JBMICROCONT-182 determine certificates CodeSource cs = new CodeSource(codeSourceURL, certs); PermissionCollection permissions = Policy.getPolicy().getPermissions(cs); return new ProtectionDomain(cs, permissions); }

      catch (Exception e)

      { throw new Error("Error determining protection domain for " + clazz, e); }

      }
      ======================================================

      Please move this jira issue to appropriate project and assign appropriate version.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  alesj AleŇ° Justin
                  Reporter:
                  anil.saldhana Anil Saldanha
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: