test/jdk/sun/security/tools/jarsigner/multiRelease/MVJarSigningTest.java
changeset 48690 374c63fbe652
parent 47216 71c04702a3d5
child 59104 046e4024e55a
--- a/test/jdk/sun/security/tools/jarsigner/multiRelease/MVJarSigningTest.java	Wed Jan 31 10:34:59 2018 -0800
+++ b/test/jdk/sun/security/tools/jarsigner/multiRelease/MVJarSigningTest.java	Wed Jan 31 11:25:34 2018 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -81,7 +81,7 @@
     private static final String KEYPASS = "changeit";
     private static final String SIGNED_JAR = "Signed.jar";
     private static final String POLICY_FILE = "SignedJar.policy";
-    private static final String VERSION = "" + Runtime.version().major();
+    private static final String VERSION = Integer.toString(10);
     private static final String VERSION_MESSAGE = "I am running on version " + VERSION;
 
     public static void main(String[] args) throws Throwable {