You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by dj...@apache.org on 2006/02/04 00:35:13 UTC
svn commit: r374785 -
/db/derby/code/trunk/java/engine/org/apache/derby/iapi/services/classfile/ClassFormatOutput.java
Author: djd
Date: Fri Feb 3 15:35:12 2006
New Revision: 374785
URL: http://svn.apache.org/viewcvs?rev=374785&view=rev
Log:
DERBY-921 Missing file from last commit for this bug.
Modified:
db/derby/code/trunk/java/engine/org/apache/derby/iapi/services/classfile/ClassFormatOutput.java
Modified: db/derby/code/trunk/java/engine/org/apache/derby/iapi/services/classfile/ClassFormatOutput.java
URL: http://svn.apache.org/viewcvs/db/derby/code/trunk/java/engine/org/apache/derby/iapi/services/classfile/ClassFormatOutput.java?rev=374785&r1=374784&r2=374785&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/iapi/services/classfile/ClassFormatOutput.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/iapi/services/classfile/ClassFormatOutput.java Fri Feb 3 15:35:12 2006
@@ -27,7 +27,7 @@
/** A wrapper around DataOutputStream to provide input functions in terms
- of the types defined on pages 83.
+ of the types defined on pages 83 of the Java Virtual Machine spec.
For this types use these methods of DataOutputStream
<UL>
@@ -46,9 +46,11 @@
}
public ClassFormatOutput(int size) {
- super(new AccessibleByteArrayOutputStream(size));
+ this(new AccessibleByteArrayOutputStream(size));
+ }
+ public ClassFormatOutput(java.io.OutputStream stream) {
+ super(stream);
}
-
public void putU1(int i) throws IOException {
// ensure the format of the class file is not
// corrupted by writing an incorrect, truncated value.