TestEarlyGC.java: Added comment explaining bytecode.

* libjava.loader/TestEarlyGC.java: Added comment explaining
	bytecode.

From-SVN: r62047
This commit is contained in:
Tom Tromey 2003-01-28 23:21:13 +00:00 committed by Tom Tromey
parent 53b50ac137
commit f3ded1c171
2 changed files with 15 additions and 0 deletions

View File

@ -1,5 +1,8 @@
2003-01-28 Tom Tromey <tromey@redhat.com>
* libjava.loader/TestEarlyGC.java: Added comment explaining
bytecode.
* libjava.jacks/jacks.xfail: More lexer tests now pass.
2003-01-27 Tom Tromey <tromey@redhat.com>

View File

@ -2,6 +2,18 @@ public class TestEarlyGC extends ClassLoader {
static TestEarlyGC[] a = new TestEarlyGC[10];
// Jeff Sturm writes:
// Reconstructed from bytecode (and memory). The singleton pattern
// is used as a class finalizer.
// public class C {
// private static C c;
// public C() {
// c = this;
// }
// protected void finalize() {
// System.out.println("finalized");
// }
// }
byte[] code = {
-54,-2,-70,-66,0,3,0,45,0,32,1,0,1,67,7,0,
1,1,0,16,106,97,118,97,47,108,97,110,103,47,79,98,