JDK-5040776 : Java Plug-In Control Panel last updated date not using Windows regional setting
  • Type: Bug
  • Component: deploy
  • Sub-Component: deployment_toolkit
  • Affected Version: 1.4.2
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2004-04-30
  • Updated: 2004-05-11
  • Resolved: 2004-05-11
Related Reports
Duplicate :  
Description

Name: gm110360			Date: 04/30/2004


FULL PRODUCT VERSION :
java version "1.4.2_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05)
Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode)

ADDITIONAL OS VERSION INFORMATION :
Windows XP SP1

A DESCRIPTION OF THE PROBLEM :
The date displayed on the Java Plug-In Control Panel Update tab as the date that the Java Update was last run is not displayed according to the regional short date format setting. For instance my Windows short date format is set to display dates as dd/mm/yyyy (i.e. 26/04/2004). But the date in the Java Plug-In Control Panel is displayed as 4/26/04.

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Set the short date format in Windows to display as dd/mm/yyyy. Display the Java Plug-In Control Panel Update tab. The date in 'Java Update was last run at ...' will be formatted as m/dd/yy (instead of the desired dd/mm/yyyy formatting).


REPRODUCIBILITY :
This bug can be reproduced always.
(Incident Review ID: 260439) 
======================================================================

Comments
EVALUATION There are several places in the Update Panel of the JCP that use specific DateFormat's without using the factory methods, such as DateFormat.getDateInstance(), which preserve locale specific formats. ###@###.### 2004-05-03 In this case DateFormat.getDateInstance() is used. If default locale and general language settings for the systems are changed (for example to French), then you'll see the locale-specific date format in the Update Panel (see attached snapshot of the screen). If you don't change locale settings, but change only Date format in the Regional Options dialog, then you will not see the desired date format in the Update panel. This is a duplicate of bug 4514389 (actually it is an RFE). ###@###.### 2004-05-11
11-05-2004