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

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

XMLWordPrintable

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

        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.

        the following guide http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/jcp/properties.html
        should be updated with described workarounds.

              jgordon Joni Gordon (Inactive)
              mcherkas Mikhail Cherkasov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: