mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-06 03:35:10 +00:00
8233940: Preview API tests for String methods should use ${jdk.version} as -source arg
Reviewed-by: jlaskey, jlahoda
This commit is contained in:
parent
171257ea1a
commit
f13a0df720
@ -25,7 +25,7 @@
|
||||
* @test
|
||||
* bug 8203444
|
||||
* @summary Unit tests for instance versions of String#format
|
||||
* @compile --enable-preview -source 14 Formatted.java
|
||||
* @compile --enable-preview -source ${jdk.version} Formatted.java
|
||||
* @run main/othervm --enable-preview Formatted
|
||||
*/
|
||||
|
||||
|
||||
@ -25,7 +25,7 @@
|
||||
* @test
|
||||
* @bug 8223775
|
||||
* @summary This exercises String#stripIndent patterns and limits.
|
||||
* @compile --enable-preview -source 14 StripIndent.java
|
||||
* @compile --enable-preview -source ${jdk.version} StripIndent.java
|
||||
* @run main/othervm --enable-preview StripIndent
|
||||
*/
|
||||
|
||||
|
||||
1
test/jdk/java/lang/String/TEST.properties
Normal file
1
test/jdk/java/lang/String/TEST.properties
Normal file
@ -0,0 +1 @@
|
||||
allowSmartActionArgs=true
|
||||
@ -25,7 +25,7 @@
|
||||
* @test
|
||||
* @bug 8223780
|
||||
* @summary This exercises String#translateEscapes patterns and limits.
|
||||
* @compile --enable-preview -source 14 TranslateEscapes.java
|
||||
* @compile --enable-preview -source ${jdk.version} TranslateEscapes.java
|
||||
* @run main/othervm --enable-preview TranslateEscapes
|
||||
*/
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user