From: adam Date: Sat, 2 Jul 2005 08:17:43 +0000 (+0000) Subject: made ClassFile(DataInput) public X-Git-Url: http://git.megacz.com/?p=org.ibex.classgen.git;a=commitdiff_plain;h=9603ae5a156fae4acb8423dba6d5e4d571fd2d6e made ClassFile(DataInput) public darcs-hash:20050702081743-5007d-e200e79e9ceabbf5bd508a67f6c59abf4d03dc4b.gz --- diff --git a/src/org/ibex/classgen/ClassFile.java b/src/org/ibex/classgen/ClassFile.java index 2a755f0..f598519 100644 --- a/src/org/ibex/classgen/ClassFile.java +++ b/src/org/ibex/classgen/ClassFile.java @@ -199,8 +199,8 @@ public class ClassFile implements CGConst { } } - ClassFile(DataInput i) throws IOException { this(i, false); } - ClassFile(DataInput i, boolean ssa) throws IOException { + public ClassFile(DataInput i) throws IOException { this(i, false); } + public ClassFile(DataInput i, boolean ssa) throws IOException { int magic = i.readInt(); if (magic != 0xcafebabe) throw new ClassReadExn("invalid magic: " + Long.toString(0xffffffffL & magic, 16)); minor = i.readShort();