8275187: Suppress warnings on non-serializable array component types in java.sql.rowset

Reviewed-by: lancea
This commit is contained in:
Joe Darcy 2021-10-13 16:53:46 +00:00
parent d8f6b6c19a
commit d15fbc28af
3 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2003, 2021, 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
@ -61,6 +61,7 @@ private static final long serialVersionUID = 4152013523511412238L;
* object.
* @serial
*/
@SuppressWarnings("serial") // Array component type is not Serializable
protected Object[] origVals;
/**

View File

@ -147,6 +147,7 @@ public class CachedRowSetWriter implements TransactionalWriter, Serializable {
*
* @serial
*/
@SuppressWarnings("serial") // Array component type is not Serializable
private Object[] params;
/**

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2003, 2021, 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
@ -53,6 +53,7 @@ static final long serialVersionUID = 5047859032611314762L;
* object.
* @serial
*/
@SuppressWarnings("serial") // Array component type is not Serializable
private Object[] currentVals;
/**