8232078: Suppress warnings on non-serializable non-transient instance fields in java.datatransfer

Reviewed-by: serb
This commit is contained in:
Joe Darcy 2019-10-09 19:38:11 -07:00
parent 728644f37d
commit 2918f86d2b

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 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
@ -346,9 +346,9 @@ ClassNotFoundException {
return newObj;
}
private String primaryType;
private String subType;
private MimeTypeParameterList parameters;
private transient String primaryType;
private transient String subType;
private transient MimeTypeParameterList parameters;
// below here be scary parsing related things