OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [testsuite/] [libjava.lang/] [pr21785.java] - Blame information for rev 765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 765 jeremybenn
import java.io.*;
2
 
3
public class pr21785 implements Serializable
4
{
5
  public static void main(String[] args)
6
  {
7
    try {
8
      ByteArrayOutputStream outb = new ByteArrayOutputStream();
9
      ObjectOutputStream outs = new ObjectOutputStream(outb);
10
      outs.writeObject(new pr21785());
11
      byte[] store = outb.toByteArray();
12
 
13
      ByteArrayInputStream inb = new ByteArrayInputStream(store);
14
      ObjectInputStream ins = new ObjectInputStream(inb);
15
      ins.readObject();
16
    }
17
    catch (Throwable e) {
18
      throw new Error(e);
19
    }
20
  }
21
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.