< prev index next >

test/jdk/java/io/Serializable/records/BasicRecordSer.java

Print this page
*** 1,7 ***
  /*
!  * Copyright (c) 2019, 2020, 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.
--- 1,7 ---
  /*
!  * Copyright (c) 2019, 2024, 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.

*** 21,13 ***
   * questions.
   */
  
  /*
   * @test
!  * @bug 8246774
   * @summary Basic test that serializes and deserializes a number of records
   * @run testng BasicRecordSer
   * @run testng/othervm/java.security.policy=empty_security.policy BasicRecordSer
   */
  
  import java.io.ByteArrayInputStream;
  import java.io.ByteArrayOutputStream;
--- 21,14 ---
   * questions.
   */
  
  /*
   * @test
!  * @bug 8246774 8326879
   * @summary Basic test that serializes and deserializes a number of records
   * @run testng BasicRecordSer
+  * @run testng/othervm --enable-preview BasicRecordSer
   * @run testng/othervm/java.security.policy=empty_security.policy BasicRecordSer
   */
  
  import java.io.ByteArrayInputStream;
  import java.io.ByteArrayOutputStream;
< prev index next >