United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6397684 set a PrintService without a name (getName() return null) then the JVM crashed
JDK-6397684 : set a PrintService without a name (getName() return null) then the JVM crashed

Details
Type:
Bug
Submit Date:
2006-03-13
Status:
Resolved
Updated Date:
2010-04-26
Project Name:
JDK
Resolved Date:
2006-04-19
Component:
client-libs
OS:
windows_2000
Sub-Component:
2d
CPU:
x86
Priority:
P2
Resolution:
Fixed
Affected Versions:
1.4.2,6
Fixed Versions:

Related Reports

Sub Tasks

Description
J2SE Version (please include all output from java -version flag):
  java version "1.6.0-beta2"
  Java(TM) SE Runtime Environment (build 1.6.0-beta2-b75)
  Java HotSpot(TM) Client VM (build 1.6.0-beta2-b75, mixed mode, sharing)

Does this problem occur on J2SE 1.4.x or 5.0.x ?  Yes / No (pick one)
  Yes, on 1.4, 1.5 and 6

Operating System Configuration Information (be specific):
  Microsoft Windows 2000 [Version 5.00.2195]

Hardware Configuration Information (be specific):
  Pentium 4

Bug Description:
  set a PrintService without a name (getName() return null) then the JVM crashed

                                    

Comments
EVALUATION

The cause of the crash is because the user implemented the PrintService interface with a getName() function that returns null and this null value was passed to the native function, setNativePrintService.
                                     
2006-03-13



Hardware and Software, Engineered to Work Together