jdk/test/java/awt/Container/ContainerAIOOBE/ContainerAIOOBE.java
changeset 39056 d99e63b6d962
parent 27279 a5914bdb193c
equal deleted inserted replaced
39055:92f7fed22d5f 39056:d99e63b6d962
     1 /*
     1 /*
     2  * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2014, 2016, 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.
    29 import java.io.ObjectInputStream;
    29 import java.io.ObjectInputStream;
    30 import java.io.ObjectOutputStream;
    30 import java.io.ObjectOutputStream;
    31 
    31 
    32 /**
    32 /**
    33  * @test
    33  * @test
       
    34  * @key headful
    34  * @bug 8059590
    35  * @bug 8059590
    35  * @summary ArrayIndexOutOfBoundsException occurs when Container with overridden getComponents() is deserialized.
    36  * @summary ArrayIndexOutOfBoundsException occurs when Container with overridden getComponents() is deserialized.
    36  * @author Alexey Ivanov
    37  * @author Alexey Ivanov
    37  * @run main ContainerAIOOBE
    38  * @run main ContainerAIOOBE
    38  */
    39  */