< prev index next >

test/jdk/java/io/Serializable/records/RecordClassTest.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 tests for serializing and deserializing record classes
   * @run testng RecordClassTest
   * @run testng/othervm/java.security.policy=empty_security.policy RecordClassTest
   */
  
  import java.io.ByteArrayInputStream;
  import java.io.ByteArrayOutputStream;
--- 21,14 ---
   * questions.
   */
  
  /*
   * @test
!  * @bug 8246774 8326879
   * @summary Basic tests for serializing and deserializing record classes
   * @run testng RecordClassTest
+  * @run testng/othervm --enable-preview RecordClassTest
   * @run testng/othervm/java.security.policy=empty_security.policy RecordClassTest
   */
  
  import java.io.ByteArrayInputStream;
  import java.io.ByteArrayOutputStream;
< prev index next >