Your message dated Sat, 23 Mar 2019 16:08:07 +0100
with message-id <[email protected]>
and subject line closing remaining openjdk-6 bugs
has caused the Debian Bug report #579857,
regarding openjdk-6-jre: javax.imageio.ImageIO.write prints stack trace if file 
un-writable.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
579857: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=579857
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: sun-java6-bin
Version: 6-16-1
Severity: normal


The following program prints on stderr:

java.io.FileNotFoundException: /test.png (Permission denied)
        at java.io.RandomAccessFile.open(Native Method)
        at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
        at 
javax.imageio.stream.FileImageOutputStream.<init>(FileImageOutputStream.java:53)
        at 
com.sun.imageio.spi.FileImageOutputStreamSpi.createOutputStreamInstance(FileImageOutputStreamSpi.java:37)
        at javax.imageio.ImageIO.createImageOutputStream(ImageIO.java:393)
        at javax.imageio.ImageIO.write(ImageIO.java:1514)
        at Fail.main(Fail.java:10)
--- BELOW HERE ---
java.lang.NullPointerException
        at javax.imageio.ImageIO.write(ImageIO.java:1523)
        at Fail.main(Fail.java:10)

The line "--- BELOW HERE ---" should be the first output.

import java.io.*;
import javax.imageio.ImageIO;
import java.awt.image.*;

public final class Fail {
  public static void main(String[] args) throws java.io.IOException {
    try {
      File out = new File("/test.png");
      BufferedImage image = new BufferedImage(100, 100, 
BufferedImage.TYPE_INT_RGB);
      javax.imageio.ImageIO.write(image, "PNG", out);
    } catch (Throwable e) {
      System.err.println("--- BELOW HERE ---");
      e.printStackTrace();
    }
  }
}

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.31-honey2 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages sun-java6-bin depends on:
ii  debconf [debconf-2.0]         1.5.28     Debian configuration management sy
ii  libc6                         2.10.1-7   GNU C Library: Shared libraries
ii  sun-java6-jre                 6-16-1     Sun Java(TM) Runtime Environment (
ii  unixodbc                      2.2.11-21  ODBC tools libraries

Versions of packages sun-java6-bin recommends:
ii  libasound2                    1.0.21a-1  shared library for ALSA applicatio
ii  libnss-mdns                   0.10-3.1   NSS module for Multicast DNS name 
ii  libx11-6                      2:1.2.2-1  X11 client-side library
ii  libxext6                      2:1.0.4-1  X11 miscellaneous extension librar
ii  libxi6                        2:1.2.1-2  X11 Input extension library
ii  libxtst6                      2:1.0.3-1  X11 Testing -- Resource extension 

Versions of packages sun-java6-bin suggests:
pn  binfmt-support                <none>     (no description available)

-- debconf information excluded



--- End Message ---
--- Begin Message ---
Version: 6b41-1.13.13-1+rm

Hi,

openjdk-6 was last released with Debian 7.0 (wheezy), which had its LTS
support end nearly a year ago and which has now been archived.
I'm therefore closing the remaining openjdk-6 bugs, assuming they are no
longer relevant for newer (and still supported) openjdk releases.

Andreas

--- End Message ---

Reply via email to