mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-11 06:20:25 +08:00
TestEarlyGC.java: Added comment explaining bytecode.
* libjava.loader/TestEarlyGC.java: Added comment explaining bytecode. From-SVN: r62047
This commit is contained in:
parent
53b50ac137
commit
f3ded1c171
@ -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>
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user