-
Type:
Enhancement
-
Resolution: Withdrawn
-
Priority:
P4
-
None
-
Affects Version/s: 25
-
Component/s: core-libs
This test is targeted to run on Windows only using a boolean variable to record the OS platform, via the geProperty of os.name and throwing SkippedException for non Windows OS. This can be also done using the @requires (os.family == "windows")
public class Correctness {
static boolean err = false;
static Method containsMethod;
static boolean isWindows =
System.getProperty("os.name").contains("Windows");
public static void main(String args[]) throws Exception {
public class Correctness {
static boolean err = false;
static Method containsMethod;
static boolean isWindows =
System.getProperty("os.name").contains("Windows");
public static void main(String args[]) throws Exception {
- relates to
-
JDK-8355444 [java.io] Use @requires tag instead of exiting based on "os.name" property value
-
- Resolved
-
-
JDK-8211673 Add @requires tags to reduce unnecessary testing
-
- Resolved
-