Deprecations Was:Re: [javacvs-dev] Problem with add directory using NT cvs server

Milos Kleint <[email protected]> Wed, 03 Jul 2002 13:29:34 +0200
Newsgroups gmane.comp.java.netbeans.modules.javacvs.devel
Message-ID <[email protected]>
Milos Kleint wrote:
> Christian Stein wrote:
> 
>>>> "    [exec] WARNING - the WizardDescriptor.Panel implementation
>>>> org.netbeans.modules.vcscore.wizard.mountcvs.LoginPanel provides
>>>> itself as the result of getComponent(). This can cause a clash
>>>> when Component.isValid() is overridden. Please use a separate
>>>> component class.   "
>>>>
>>>
>>> well, this is known issue, it's something like a netbeans' 
>>> "deprecation".
>>
>>
>>
>> Ok. Are those deprecation issues scheduled for NB 4.0?

yup, or even better for 3.4.

>>
>>
>>>> ...and some "DEPRECATED" messages. (Because of compiling NB with
>>>> SDK2 1.4.0?)
>>>
>>>
>>
>> But maybe, we can start to solve these inside the javacvs module
>> along the way. I'll do a re-build with the "build.compiler.deprecation"
>> flag set to true later.
>>

You can, there's one case that probably not fixable though. It the use of DataInputStream.readLine() 
in the LoggedDataInputStream. That's necessary for the reading  of both binary and text line-bases 
data from the stream. We need to get rid of since it also causes problems with non-ascii texts (eg. 
japanese filenames/log messages.)

This problem should be fixed by the javax.nio package use, however the netbeans code base won't 
abandon the 1.3 JDK for some time..

Milos