8251542: Several small Javadoc errors in java.base

Fixing wrong exception type in throws clause and wrong return type description

Reviewed-by: darcy, dfuchs, mullan, mchung, rriggs
This commit is contained in:
Vipin Sharma 2020-08-25 09:27:36 +01:00 committed by Julia Boes
parent eaeddeddb1
commit d4626d89cc
8 changed files with 11 additions and 13 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2012, 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
@ -208,7 +208,7 @@ import static sun.invoke.util.Wrapper.isWrapperType;
*
* @return a CallSite, which, when invoked, will return an instance of the
* functional interface
* @throws ReflectiveOperationException
* @throws LambdaConversionException
*/
abstract CallSite buildCallSite()
throws LambdaConversionException;

View file

@ -200,7 +200,6 @@ import static jdk.internal.org.objectweb.asm.Opcodes.*;
*
* @return a CallSite, which, when invoked, will return an instance of the
* functional interface
* @throws ReflectiveOperationException
* @throws LambdaConversionException If properly formed functional interface
* is not found
*/