< prev index next >

test/tools/jar/multiRelease/data/runtimetest/main.template

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2016, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2016, 2017, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 28,38 **** import java.io.InputStream; import java.io.InputStreamReader; public class Main { ! private static final int MAIN_VERSION = 9; public static void main(String[] args) { System.out.println("Main version: " + getMainVersion()); System.out.println("Helpers version: " + getHelperVersion()); System.out.println("Resource version: " + getResourceVersion()); --- 28,38 ---- import java.io.InputStream; import java.io.InputStreamReader; public class Main { ! private static final int MAIN_VERSION = $version; public static void main(String[] args) { System.out.println("Main version: " + getMainVersion()); System.out.println("Helpers version: " + getHelperVersion()); System.out.println("Resource version: " + getResourceVersion());
< prev index next >