diff -r efb06b82374b -r d5de564f8089 jdk/test/java/net/CookieHandler/LocalHostCookie.java --- a/jdk/test/java/net/CookieHandler/LocalHostCookie.java Sun Jun 12 12:14:52 2016 -0700 +++ b/jdk/test/java/net/CookieHandler/LocalHostCookie.java Sun Jun 12 21:55:20 2016 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2016, 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 @@ -33,6 +33,7 @@ /* * @test * @bug 7169142 + * @modules jdk.httpserver * @summary CookieHandler does not work with localhost * @run main/othervm LocalHostCookie */