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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 7u60
    • None
    • docs
    • None

      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.

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

              Created:
              Updated:
              Resolved: