8250244: Address reliance on default constructors in java.net

Reviewed-by: alanb, vtewari
This commit is contained in:
Joe Darcy 2020-07-25 09:42:45 -07:00
parent ac4dc0470e
commit 0e54ce2a8e
12 changed files with 71 additions and 11 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2003, 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
@ -50,6 +50,11 @@ import sun.security.util.SecurityConstants;
* @since 1.5
*/
public abstract class CookieHandler {
/**
* Constructor for subclasses to call.
*/
public CookieHandler() {}
/**
* The system-wide cookie handler that will apply cookies to the
* request headers and manage cookies from the response headers.