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 17645 - Output from Generic VCS command line commands is lost on OpenVMS
Summary: Output from Generic VCS command line commands is lost on OpenVMS
Status: VERIFIED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcscore (show other bugs)
Version: 3.x
Hardware: Other OpenVMS
: P2 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-11-14 03:40 UTC by lingram
Modified: 2009-11-07 13:34 UTC (History)
1 user (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments
Patch for issue 17645 (no output from command-line VCS commands on OpenVMS) (4.93 KB, patch)
2001-11-29 19:19 UTC, lingram
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description lingram 2001-11-14 03:40:35 UTC
The OpenVMS JVM does not properly handle the ready method of InputStreamReader.
Calls to this method block indefinitely preventing command output from being
captured and processed.

A patch will follow.
Comment 1 Martin Entlicher 2001-11-14 08:37:32 UTC
Lowering priority, P3 is enough to incorporate the patch to FCS.
Comment 2 lingram 2001-11-14 21:41:28 UTC
I entered this issue because it appeared that the problem with our JVM would not be
fixed in time for the V3.3 release. That was yesterday, today it looks like
a possibility that it may be fixed. I'm holding off on a patch for a while until I'm
sure this won't be fixed on our end.

Comment 3 Martin Entlicher 2001-11-22 14:17:07 UTC
Closing as won't fix, since the patch was not supplied and we're
entering high resistance mode tomorrow.
Reopen for future version in case you'll have a patch.
Comment 4 Jiri Kovalsky 2001-11-23 16:10:31 UTC
Okay, verifying ...
Comment 5 lingram 2001-11-29 19:19:06 UTC
Created attachment 3633 [details]
Patch for issue 17645 (no output from command-line VCS commands on OpenVMS)
Comment 6 lingram 2001-11-29 19:35:19 UTC
Hello,

I'm very sorry about the false start on this issue. We had received
some hope that this could be fixed on our side before release of NB
V3.3, but we now know that this will not happen. For this reason, I
am re-opening this issue. I hope I'm following the proper steps for
this High Resistance period.

Here is the justification for the proposed patch:

A change to the vcscore module made at the end of October has caused
a situation where command-line VCS commands no longer work properly
on OpenVMS. The symptom is that all output from VCS commands is lost
resulting in an almost complete loss of command-line VCS
functionality. We had hoped that we could have a fix for our Java
product ready before the release of NB V3.3, but it now looks like
this won't be possible.

We are requesting the incorporation of the attached patch to
ExternalCommand.java in the vcscore module. The patch should be low
risk as it only changes the functional behavior of the code on the
OpenVMS platform. 

This patch basically prevents all instances of
InputStreamReader.ready() from being invoked if NetBeans is running
on an OpenVMS platform. It has been tested using command-line CVS on
Windows 2000 and on OpenVMS using a new VCS module I'm developing.
Comment 7 Martin Entlicher 2001-11-30 13:17:26 UTC
Thanks for providing the patch.
I will incorporate the patch into the main trunk and release33 branch.
Will also ask for the permission to include the fix into 3.3.0
release.
Comment 8 Martin Entlicher 2001-11-30 14:16:56 UTC
Fixed in the main trunk and release33 branch.
Will submit a request for approval to 3.3.0.
Comment 9 Martin Entlicher 2001-11-30 14:58:30 UTC
Correcting the Traget Milestone. It's fixed in 3.3.1 currently.
Comment 10 Martin Entlicher 2001-11-30 19:59:58 UTC
Fixed in release330 branch.
Comment 11 Jiri Kovalsky 2001-12-05 10:37:54 UTC
Could you Larry please verify that the patch was applied correctly ? 
Use latest release candidate of NetBeans 3.3 #200112042300. Thanks !
Comment 12 lingram 2001-12-05 20:50:37 UTC
Verified. Thanks everyone!