JDK-4984285 : JCP: Unable to change the Cache location using JFileChooser
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 5.0
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2004-01-27
  • Updated: 2004-04-26
  • Resolved: 2004-02-09
Related Reports
Duplicate :  
Description
Tested_Java_Release   	: "1.5.0-beta2
build		        :  1.5.0-beta2-b35
Tested_Java_Location 	: 
/net/koori/onestop/jdk/1.5.0/latest/bundles
Tested_Machine_Name   	: blueski/dnm-011/jitender
Tested O/S           	: sparc/winxp/win2k

Problem Description :
User is unable to change the cache location using the filechooser.on the other hand the text option to change the cache location is working fine. It's a regression as it's only reproducible with promoted build35 and latest PIT bundles while it's working fine with b-33

Steps to reproduce:
1)Java Control Panel > General > Settings( Temporary Internet files),
2)On the Temporary Files Settings window click on the "Change" button
3) Filechooser with title"Temporary Files Location" will pop-up
4) Try to select the location from the drop-down list or try to traverse the path using the "UP" arrow key on the FileChooser
If nothing is getting selected from the dropdown list or by pressing the arrow key path remain unchanged then the bug is reproduced




Comments
EVALUATION This looks like swing issue. I've tried a simple case with a text field, and a button that brings up file chooser, and observed the behavior described in this bug report. Details: I was able to select directory that's within currently selected directory. After that, if I bring file chooser again, I am able to select other directories -either above current directory, or within currently selected directory. I am attaching a simple test case. If this test case is executed with "java" command from b32 (or 33), the file chooser works as expected. If you try the test case with latest promoted build, the file chooser is not functioning as it supposed to. Transfering to swing. ###@###.### 2004-01-27 Name: keR10081 Date: 02/09/2004 This is a side effect of fix for bug 4922507, which would be fixed in 4980406. Closing as a duplicate. ###@###.### ======================================================================
24-08-2004