Review request: 7123679 Update regression tests that use os.name to work on MacOSX (original) (raw)

Alan Bateman Alan.Bateman at oracle.com
Thu Jan 5 04:51:16 PST 2012


On 05/01/2012 00:28, Kurchi Hazra wrote:

Hi,

Some test files in jdk/test have behavior defined by what the os.name property of the system evaluates to. These changes adds Mac OS X as a recognized OS in a bunch of such test files. In addition, since many tests are failing with the sun.nio.ch.KQueueSelectorProvider, the changes also include using sun.nio.ch.PollSelectorProvider as the DefaultSelector for now until the kqueue selector is fixed. Webrev: http://cr.openjdk.java.net/~khazra/7123679/webrev.00/ Thanks for following on the tests that use os.name. A couple of comments:

test/java/nio/channels/DatagramChannel/Refused.java

test/java/nio/channels/FileChannel/Size.java (same thing in Transfer.java)

test/java/nio/channels/FileChannel/Write.java

test/java/nio/file/Path/PathOps.java

test/java/util/zip/ZipFile/ManyZipFiles.java

src/macosx/classes/sun/nio/ch/DefaultSelectorProvider.java.

public static SelectorProvider create() { return new PollSelectorProvider(); }

Once the kqueue Selector is passing all tests then we can change it.

That's all I have,

Alan.



More information about the macosx-port-dev mailing list