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

properties should not be defaulted in static initializers

XMLWordPrintable

    • 1.1beta3
    • sparc
    • solaris_2.5
    • Not verified

      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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: