bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug awt/26392] New: Side-effects in ImageIO.read() (VM won't exit)


From: hendrich at informatik dot uni-hamburg dot de
Subject: [Bug awt/26392] New: Side-effects in ImageIO.read() (VM won't exit)
Date: 21 Feb 2006 12:00:17 -0000

Try compiling and running my testcase for bug #24566:

import java.awt.*;
import java.awt.event.*;
import java.awt.image.*;
import java.io.*;
import javax.swing.*;
import javax.imageio.*;

public class PR24566 {

  public static void main( String args[] ) throws Exception {
    if (args.length < 1) {
      System.out.println( "Usage: java PR24566 <imagefilename>" );
      System.out.println( "Example: java PR24566 oktoberfest.jpg" );
    }
    Image image = ImageIO.read( new File( args[0] ));
  }
}


Running the program with classpath cvs 2006.02.21 and jamvm does not crash
anymore, but the application also does not exit. I suspect that any background
threads used to load the image are not marked as daemon threads, or that
AWT components are created but not freed.

- Norman


-- 
           Summary: Side-effects in ImageIO.read()  (VM won't exit)
           Product: classpath
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: awt
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hendrich at informatik dot uni-hamburg dot de


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26392





reply via email to

[Prev in Thread] Current Thread [Next in Thread]