# HG changeset patch # User dholmes # Date 1517796019 18000 # Node ID d682d3da792332aa5bbf793d97116cd2ca6a4536 # Parent 7d5826282e8d2843fb842fe8ccf93576ae2dcb21 8196550: [Testbug] runtime/appcds/MultiReleaseJars.java fails on JDK 11 Reviewed-by: alanb, iklam, ccheung diff -r 7d5826282e8d -r d682d3da7923 test/hotspot/jtreg/runtime/appcds/MultiReleaseJars.java --- a/test/hotspot/jtreg/runtime/appcds/MultiReleaseJars.java Sat Feb 03 21:12:37 2018 -0800 +++ b/test/hotspot/jtreg/runtime/appcds/MultiReleaseJars.java Sun Feb 04 21:00:19 2018 -0500 @@ -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 @@ -41,8 +41,8 @@ public class MultiReleaseJars { - static final int MAJOR_VERSION = Runtime.version().major(); - static final String MAJOR_VERSION_STRING = String.valueOf(Runtime.version().major()); + static final int MAJOR_VERSION = 10; // Runtime.version().major(); + static final String MAJOR_VERSION_STRING = String.valueOf(MAJOR_VERSION); static String[] getMain() { String[] sts = {