harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kyle Cho (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-6217) problem with DeflaterOutputStream/Deflater
Date Fri, 29 May 2009 18:30:46 GMT
problem with DeflaterOutputStream/Deflater

                 Key: HARMONY-6217
                 URL: https://issues.apache.org/jira/browse/HARMONY-6217
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
    Affects Versions: 5.0M10
         Environment: RedHat EL 5 x86
            Reporter: Kyle Cho
            Priority: Minor

The test below fails.

import java.util.zip.*;
import java.io.*;
class Decomp {
        public static void main(String args[]) throws Exception
                double data[] = {1.0, 2.0, 3.0, 4.0, 5.0};
                Deflater def = new Deflater();
                DataOutputStream dos = new DataOutputStream(new DeflaterOutputStream(new FileOutputStream("data.txt"),
                for (int i = 0; i < data.length; i++)
                System.out.println("Total written: "+def.getTotalOut());

Uncaught exception in main:
        at java.util.zip.Deflater.getTotalOut(Deflater.java:282)
        at Decomp.main(Decomp.java:13)

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message