Re: JDK 11 RFR of JDK-8196414: Update ProviderVersionCheck.java to pass on updated JDK versions

2018-01-30 Thread Sean Mullan
On 1/30/18 1:19 PM, joe darcy wrote: Hi Sean, On 1/30/2018 10:03 AM, Sean Mullan wrote: Does Runtime.version().feature() return the same value as the "java.specification.version" property? (see sun.security.util.SecurityConstants.PROVIDER_VER). That is the value that the JDK security provide

Re: JDK 11 RFR of JDK-8196414: Update ProviderVersionCheck.java to pass on updated JDK versions

2018-01-30 Thread joe darcy
Hi Sean, On 1/30/2018 10:03 AM, Sean Mullan wrote: Does Runtime.version().feature() return the same value as the "java.specification.version" property? (see sun.security.util.SecurityConstants.PROVIDER_VER). That is the value that the JDK security providers use as their version. If not, this

Re: JDK 11 RFR of JDK-8196414: Update ProviderVersionCheck.java to pass on updated JDK versions

2018-01-30 Thread Sean Mullan
Does Runtime.version().feature() return the same value as the "java.specification.version" property? (see sun.security.util.SecurityConstants.PROVIDER_VER). That is the value that the JDK security providers use as their version. If not, this test may fail when we bump up the version to 11 and

JDK 11 RFR of JDK-8196414: Update ProviderVersionCheck.java to pass on updated JDK versions

2018-01-30 Thread joe darcy
Hello, The test     java/security/Provider/ProviderVersionCheck.java has a version-check that is hard coded; therefore, it has to be updated with each major JDK update. If the test made its check based on the runtime version, no explicit update would be needed. Please review the patch below