-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
1.4.0
-
sparc
-
solaris_7
Name: sdR10048 Date: 12/19/2000
Constructors of all descendants of JComponent dump core in headless
mode. This is true for jdk1.4-beta40,44,45. See example:
---Test2.java:
import javax.swing.*;
public class Test2 {
public static void main(String[] args) {
new JToolBar();
//you can write here any JComponent descendant
}
}
---
] dsv@falcon ~/tmp
] java -version
java version "1.4.0beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0beta-b40)
Java HotSpot(TM) Client VM (build 1.4beta-B40, mixed mode)
] dsv@falcon ~/tmp
] javac Test2.java
] dsv@falcon ~/tmp
] java -Djava.awt.headless=true Test2
# # An unexpected exception has been detected in native code outside the VM.# Program counter=0xf579bf20
#
# Problematic Thread: prio=5 tid=0x28108 nid=0x1 runnable
#
Abort (core dumped)
---
======================================================================
- duplicates
-
JDK-4386082 Component.setFont fails in native code in headless mode - REGRESSION
- Closed