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

java ignores deployment.expiration.check.enabled property for first launch

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7u60
    • Component/s: docs
    • Labels:
      None

      Description

      Java ignores deployment.expiration.check.enabled property for first launch.
      If you have old version of java and turn off expiration check via deployment.properties,
      java will miss this property for first launch.
      This happens because expiration check is done in native code and it reads
      properties from native cache, but the cache is out of synchronization with deployment.properties.
      The synchronization happens later in java code, so it will be synchronized, but at the first launch user
      will see expiration warning.
      There's two possible workaround:
      1) add it do deployment.properties and run JCP, JCP will synchronize native cache with deployment.propeties.
      2) Set deployment.expiration.check.enabled=false as environment property.

      I think this workarounds should be added to release notes.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dgollapudi Devika Gollapudi (Inactive)
                Reporter:
                mcherkas Mikhail Cherkasov (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: