8232448: Suppress warnings on non-serializable non-transient instance fields in jdk.jdi

Reviewed-by: sspitsyn
This commit is contained in:
Joe Darcy 2019-10-17 09:38:32 -07:00
parent 68dbbf566d
commit bd96098ec2
3 changed files with 6 additions and 3 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1998, 2019, 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
@ -36,6 +36,7 @@ public class InvocationException extends Exception {
private static final long serialVersionUID = 6066780907971918568L;
@SuppressWarnings("serial") // Not statically typed as Serializable
ObjectReference exception;
public InvocationException(ObjectReference exception) {

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1998, 2019, 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
@ -40,6 +40,7 @@ public class IllegalConnectorArgumentsException extends Exception {
private static final long serialVersionUID = -3042212603611350941L;
@SuppressWarnings("serial") // Conditionally serializable
List<String> names;
/**

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1998, 2019, 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
@ -38,6 +38,7 @@ public class VMStartException extends Exception {
private static final long serialVersionUID = 6408644824640801020L;
@SuppressWarnings("serial") // Not statically typed as Serializable
Process process;
public VMStartException(Process process) {