Problems compiling mindterm source and fixes
Govin Varadarajan
govin_1999@yahoo.com
Fri, 6 Dec 2002 17:22:53 -0800 (PST)
--0-1447795897-1039224173=:93315
Content-Type: text/plain; charset=us-ascii
Hi,
I tried to compile the recent Mindterm souce code and encountered a couple of compilation errors. I have fixed the errors and finally got the package to compile. Here is what I found and what I believe are the fixes. Any Comments ?
Problem-1:
ssh/SSHSocketImpl.java uses the "setMaxDepth(int) method on util/Queue.java; but a setMaxDepth(int) method is not available in util/Queue.java.
My Solution-1:
I created a setMaxDepth(int) in util/Queue.java which inturn simply calls the setDepth(int) method.
Is there a better solution ?
Problem-2:
asn1/ASN1InstanceOf() Constructor calls setComponent(int, ASN1Object) method twice. However, a setComponent(int, ASN1Object) is not available.
Solution-2
I commented out the setComponent() method calls and used the addComponent(ASN1Object) method instead.
Is there a better solution ? I could mail the files with my fixes, to this list.
Thanks,
Govin Varadarajan
---------------------------------
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now
--0-1447795897-1039224173=:93315
Content-Type: text/html; charset=us-ascii
<P>Hi,</P>
<P>I tried to compile the recent Mindterm souce code and encountered a couple of compilation errors. I have fixed the errors and finally got the package to compile. Here is what I found and what I believe are the fixes. Any Comments ?</P>
<P>Problem-1:</P>
<P>ssh/SSHSocketImpl.java uses the "setMaxDepth(int) method on util/Queue.java; but a setMaxDepth(int) method is not available in util/Queue.java. </P>
<P>My Solution-1:</P>
<P>I created a setMaxDepth(int) in util/Queue.java which inturn simply calls the setDepth(int) method.</P>
<P>Is there a better solution ?</P>
<P>Problem-2:</P>
<P>asn1/ASN1InstanceOf() Constructor calls setComponent(int, ASN1Object) method twice. However, a setComponent(int, ASN1Object) is not available.</P>
<P>Solution-2</P>
<P>I commented out the setComponent() method calls and used the addComponent(ASN1Object) method instead.</P>
<P>Is there a better solution ? I could mail the files with my fixes, to this list. </P>
<P>Thanks,</P>
<P>Govin Varadarajan</P>
<P><BR></P><p><br><hr size=1>Do you Yahoo!?<br>
<a href="http://rd.yahoo.com/mail/mailsig/*http://mailplus.yahoo.com">Yahoo! Mail Plus</a> - Powerful. Affordable. <a href="http://rd.yahoo.com/mail/mailsig/*http://mailplus.yahoo.com">Sign up now</a>
--0-1447795897-1039224173=:93315--