mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
8219254: Update explicit uses of latest source/target in langtools tests to a property
8219256: Update javac diags tests to use properties Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com> Reviewed-by: jjg, jlahoda, darcy, iignatyev
This commit is contained in:
parent
86e513bd48
commit
bf2d27c5a4
68 changed files with 183 additions and 131 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2018, 2019, 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
|
||||
|
@ -24,7 +24,7 @@
|
|||
// key: compiler.err.continue.outside.switch.expression
|
||||
// key: compiler.note.preview.filename
|
||||
// key: compiler.note.preview.recompile
|
||||
// options: --enable-preview -source 13
|
||||
// options: --enable-preview -source ${jdk.version}
|
||||
|
||||
class ContinueOutsideSwitchExpression {
|
||||
int t(int i) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue