Subject: pkg/20085: JDK14 hanging on trivial swing apps
To: None <>
From: None <>
List: netbsd-bugs
Date: 01/27/2003 15:16:36
>Number:         20085
>Category:       pkg
>Synopsis:       JDK14 hanging on trivial swing apps
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 27 14:17:01 PST 2003
>Originator:     Chris Jones
>Release:        NetBSD 1.6
>Organization: -----------------------------------------------------
Chris Jones                                    SRI International, Inc.                                   
System: NetBSD 1.6 NetBSD 1.6 (LEGOLAS) #0: Wed Sep 18 11:01:00 MDT 2002 i386
Architecture: i386
Machine: i386

legolas$ pkg_info | grep -i sun-j
sun-jre14-0nb1      Sun's Java(tm) Runtime Environment 1.4.0
sun-jdk14-0nb1      Sun's Java(tm) Development Kit 1.4.0

Running a trivial swing application, the java process consumes over
90% CPU time and doesn't respond to SIGTERM.

Compile and run the following Java program:

import javax.swing.*;

public class HelloWorldSwing {
  public static void main(String[] args) {
    JFrame frame = new JFrame("HelloWorldSwing");
    final JLabel label = new JLabel("Hello World");

Unknown.  I also tried installing JDK1.4.1_01 and running that, but it
exhibited the same symptoms.