db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r374785 - /db/derby/code/trunk/java/engine/org/apache/derby/iapi/services/classfile/ClassFormatOutput.java
Date Fri, 03 Feb 2006 23:35:13 GMT
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.



Mime
View raw message