< prev index next >

test/failure_handler/src/share/classes/jdk/test/failurehandler/jtreg/OS.java

Print this page
rev 59383 : [mq]: final

*** 1,7 **** /* ! * Copyright (c) 2016, 2018, 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, 2020, 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.
*** 42,53 **** family = "aix"; } else if (name.startsWith("Linux")) { family = "linux"; } else if (name.startsWith("Mac") || name.startsWith("Darwin")) { family = "mac"; - } else if (name.startsWith("SunOS") || name.startsWith("Solaris")) { - family = "solaris"; } else if (name.startsWith("Windows")) { family = "windows"; } else { // use first word of name family = name.replaceFirst("^([^ ]+).*", "$1"); --- 42,51 ----
< prev index next >