Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-9544

Add sun.security.action package export to sun.jdk module

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Unresolved
    • Major
    • None
    • 6.1.0
    • None
    • None
    • 0
    • 0% 0%

    Description

      An application that uses a simple:
      System.getProperty("line.separator");

      gets a stacktrace during startup:

      0m�[31m11:38:22,418 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/ejbca/cmp-tcp]] (ServerService Thread Pool – 64) JBWEB000289: Servlet CmpTcpInitServlet threw load() exception: java.lang.ClassNotFoundException: sun.security.action.GetPropertyAction

      The simple solution is to export sun/security/action in modules/system/layers/base/sun/jdk/main/module.xml. Simply add:

      <path name="sun/security/action"/>

      Attachments

        Activity

          People

            Unassigned Unassigned
            tomasg1 Tomas Gustavsson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: