# HG changeset patch # User dmeetry # Date 1334664808 -14400 # Node ID 07ab7fcb2f085679d107938417a9a8b359cf9ce9 # Parent c1183d4a80d405249892a046d5d44f8506a04d89 7015981: java.net.HttpCookie.domainMatches returns false if domain doesn't start with a dot Reviewed-by: chegar diff -r c1183d4a80d4 -r 07ab7fcb2f08 jdk/src/share/classes/java/net/HttpCookie.java --- a/jdk/src/share/classes/java/net/HttpCookie.java Mon Apr 16 20:12:20 2012 +0100 +++ b/jdk/src/share/classes/java/net/HttpCookie.java Tue Apr 17 16:13:28 2012 +0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2005, 2012, 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 @@ -616,9 +616,6 @@ * would be accepted. *