mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
8164887: update tests to remove use of old-style options
Reviewed-by: mchung
This commit is contained in:
parent
0b92f87233
commit
1386ffb4f2
23 changed files with 93 additions and 96 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2005, 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
|
||||
|
@ -44,7 +44,7 @@ public class VersionOpt {
|
|||
// Test functions by comparing the version string from javac against
|
||||
// a "golden" version generated automatically from the underlying JVM.
|
||||
// As such, it is only effective in testing the "standard" compiler,
|
||||
// and not any development version being tested via -Xpatch.
|
||||
// and not any development version being tested via --patch-modules.
|
||||
// Check the version of the compiler being used, and let the test pass
|
||||
// automatically if is is a development version.
|
||||
Class<?> javacClass = com.sun.tools.javac.Main.class;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue