-
Bug
-
Resolution: Fixed
-
P4
-
None
-
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.
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.
- duplicates
-
JDK-8034069 java ignores deployment.expiration.check.enabled property for first launch
- Resolved