test/jdk/java/io/Serializable/resolveProxyClass/NonPublicInterface.java
changeset 58565 baa5969ecf34
parent 47216 71c04702a3d5
equal deleted inserted replaced
58564:218a1a642c6f 58565:baa5969ecf34
     1 /*
     1 /*
     2  * Copyright (c) 2001, 2012, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2001, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    35 import java.lang.reflect.Proxy;
    35 import java.lang.reflect.Proxy;
    36 
    36 
    37 public class NonPublicInterface {
    37 public class NonPublicInterface {
    38 
    38 
    39     static class Handler implements InvocationHandler, Serializable {
    39     static class Handler implements InvocationHandler, Serializable {
       
    40         private static final long serialVersionUID = 1L;
       
    41 
    40         public Object invoke(Object obj, Method meth, Object[] args) {
    42         public Object invoke(Object obj, Method meth, Object[] args) {
    41             return null;
    43             return null;
    42         }
    44         }
    43     }
    45     }
    44 
    46