8196550: [Testbug] runtime/appcds/MultiReleaseJars.java fails on JDK 11
Reviewed-by: alanb, iklam, ccheung
--- 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 = {