8250246: Address reliance on default constructors in security libs

Reviewed-by: mullan
This commit is contained in:
Joe Darcy 2020-07-24 13:49:38 -07:00
parent 9b73fb125d
commit 5db58348f8
29 changed files with 170 additions and 25 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1999, 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
@ -45,6 +45,11 @@ import java.security.spec.AlgorithmParameterSpec;
public abstract class ExemptionMechanismSpi {
/**
* Constructor for subclasses to call.
*/
public ExemptionMechanismSpi() {}
/**
* Returns the length in bytes that an output buffer would need to be in
* order to hold the result of the next