This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 29296 - Patch for OpenVMS to work around protection issue
Summary: Patch for OpenVMS to work around protection issue
Status: RESOLVED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcscore (show other bugs)
Version: 3.x
Hardware: Other OpenVMS
: P4 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-04 18:47 UTC by lingram
Modified: 2009-11-07 13:34 UTC (History)
1 user (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments
Patch file generated by cvs diff for ChooseDirDialog.java (1007 bytes, patch)
2002-12-04 18:48 UTC, lingram
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description lingram 2002-12-04 18:47:25 UTC
We need to make 2 changes to 
ChooseDirDialog() in vcscore to work
around a file protection problem with 
Java on OpenVMS. The changes are
as follows:

  Currently:  
chooser.setCurrentDirectory
(initialDir);

  Change to:  if 
(Utilities.getOperatingSystem() != 
Utilities.OS_VMS) {
                
chooser.setCurrentDirectory
(initialDir);
              }

  Currently:  chooser.setSelectedFile 
(initialDir);

  Change to:  if 
(Utilities.getOperatingSystem() != 
Utilities.OS_VMS) {
            
	chooser.setSelectedFile 
(initialDir);
              }

We expect this change will be removed 
in the future.
Comment 1 lingram 2002-12-04 18:48:02 UTC
Created attachment 8173 [details]
Patch file generated by cvs diff for ChooseDirDialog.java
Comment 2 Martin Entlicher 2002-12-05 09:09:23 UTC
Maxym, do you agree with adding this into 3.4.1? It seems, that this
is necessary for OpenVMS.
The patch is trivial and should not cause any problems.
Comment 3 _ mihmax 2002-12-06 12:33:32 UTC
Do I agree or not is NOT an issue.
If it's a BUGFIX, feel free to include it into 3.4.1 codebase, P4 or
less are not subject to reviewing.

Sincere Max
Comment 4 Martin Entlicher 2002-12-09 18:20:15 UTC
The patch applied to both release341 branch and the main trunk.