< prev index next >

src/jdk.jdi/share/classes/com/sun/jdi/InvocationException.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * 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
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -34,10 +34,11 @@
  */
 public class InvocationException extends Exception {
 
     private static final long serialVersionUID = 6066780907971918568L;
 
+    @SuppressWarnings("serial") // Not statically typed as Serializable
     ObjectReference exception;
 
     public InvocationException(ObjectReference exception) {
         super("Exception occurred in target VM");
         this.exception = exception;
< prev index next >