mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8250244: Address reliance on default constructors in java.net
Reviewed-by: alanb, vtewari
This commit is contained in:
parent
ac4dc0470e
commit
0e54ce2a8e
12 changed files with 71 additions and 11 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 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
|
||||
|
@ -74,6 +74,11 @@ class Authenticator {
|
|||
private RequestorType requestingAuthType;
|
||||
private final String key = AuthenticatorKeys.computeKey(this);
|
||||
|
||||
/**
|
||||
* Constructor for subclasses to call.
|
||||
*/
|
||||
public Authenticator() {}
|
||||
|
||||
/**
|
||||
* The type of the entity requesting authentication.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue