Skip to content
Permalink
Browse files
8275187: Suppress warnings on non-serializable array component types …
…in java.sql.rowset

Reviewed-by: lancea
  • Loading branch information
jddarcy committed Oct 13, 2021
1 parent d8f6b6c commit d15fbc28afc3f2d509b4e46e70877a4650fafdc2
Showing 3 changed files with 5 additions and 2 deletions.
@@ -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 @@ public abstract class BaseRow implements Serializable, Cloneable {
* object.
* @serial
*/
@SuppressWarnings("serial") // Array component type is not Serializable
protected Object[] origVals;

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

/**
@@ -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 @@ public class Row extends BaseRow implements Serializable, Cloneable {
* object.
* @serial
*/
@SuppressWarnings("serial") // Array component type is not Serializable
private Object[] currentVals;

/**

1 comment on commit d15fbc2

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on d15fbc2 Oct 13, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.