Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed

      Description

      On Mac OS X systems, the JDK folder structure is a little different than on Linux and Windows:

      /System/Library/Frameworks/JavaVM.framework/Classes/
      /System/Library/Frameworks/JavaVM.framework/Commands/
      /System/Library/Frameworks/JavaVM.framework/Frameworks/
      /System/Library/Frameworks/JavaVM.framework/Headers/
      /System/Library/Frameworks/JavaVM.framework/Home/ *** THIS IS $JAVA_HOME BTW ***
      /System/Library/Frameworks/JavaVM.framework/JavaVM/
      /System/Library/Frameworks/JavaVM.framework/Libraries/
      /System/Library/Frameworks/JavaVM.framework/Resources/
      /System/Library/Frameworks/JavaVM.framework/Versions/

      When a portlet tries to scan the ClassPath for JARs, the JVM will return a list of URLs to JARs in the filesystem. Currently, PACK only provides READ permission on files under $JAVA_HOME/lib but on Mac OS X it is necessary to have read permission on $JAVA_HOME/../Classes as well.

      Also, the JVM will return a list of all JARs found under folders specified in the {$java.ext.dirs} system property. For example:

      /Library/Java/Extensions/
      /System/Library/Java/Extensions/
      /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext/

      So it would be necessary for PACL to include those folders as well.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                justin.choi Justin Choi
                Reporter:
                neil.griffin Neil Griffin
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  3 years, 40 weeks, 3 days ago

                  Subcomponents