United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-4939977 : Inet4AddressImpl.getLocalHostName is hanging intermittenly

Details
Type:
Bug
Submit Date:
2003-10-18
Status:
Open
Updated Date:
2008-08-23
Project Name:
JDK
Resolved Date:
Component:
core-libs
OS:
windows_2003,linux_redhat_8.0,windows_xp
Sub-Component:
java.net
CPU:
x86
Priority:
P4
Resolution:
Unresolved
Affected Versions:
8.0pe,1.4.2
Targeted Versions:

Related Reports

Sub Tasks

Description
###@###.### 2003-10-17

When running CORBA tests against S1AS 8.0 certain tests used to hang intermittenly - bug 4913449 . On investigation the cause of the hang was narrowed down to java.net.Inet4AddressImpl.getLocalHostName . See bug 4913449 for more details, thread dumps and a simple test to reproduce the problem. 


                                    

Comments
EVALUATION

This is unlikely to be a JDK bug. Inet4AddressImpl.getLocalHostName()
just calls the OS gethostname() function. If this function hangs then
it is almost certainly an OS issue. 

I could not reproduce it on Win2003, though it is probably timing
dependent. See bug 4653680 for a similar report.

Can you reproduce this on Linux, because we have not seen this
on any OS other than Windows so far?

###@###.### 2003-11-26
                                     
2003-11-26



Hardware and Software, Engineered to Work Together