Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4016171

properties should not be defaulted in static initializers

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      1.1beta3
    • CPU:
      sparc
    • OS:
      solaris_2.5
    • Verification:
      Not verified

      Description

      Properties that default in static initializers are problematic in Netscape since a SecurityException is thrown if property access is not allowed and the property is left with an incorrect default value in some instances (i.e., null). The following properties (at the minimum) should be set in a static initializer block:
      java.rmi.dgc.leaseValue
      java.rmi.loader.packagePrefix
      java.rmi.registry.packagePrefix
      java.rmi.server.packagePrefix

        Attachments

          Activity

            People

            Assignee:
            awollratsunw Ann Wollrath (Inactive)
            Reporter:
            awollratsunw Ann Wollrath (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: