0

Hello all,
One of my application used following code which is developed in java 1.2.2 but now we are migrating this application to java se 6 where the following code is depracted.

sun.misc.HexDumpEncoder.encodeBuffer

Can any one guide for the above code replacement in java se 6

Thanks & Regards,

3
Contributors
4
Replies
5
Views
7 Years
Discussion Span
Last Post by quuba
0

Hi msalahu, you could try compiling the source code from the command line and add the "deprecation" switch, which will show you a description of members/classes that have been used and have been deprecated. Then you ought to refer to the appropriate class documentation for what part of the API you should use as a replacement. E.G.

javac [I]ClassName[/I].java -deprecation

I hope this helps!

Edited by majestic0110: n/a

0

hi,
i compiled the code with ur mentioned switch only then i got the deprecation message.
I am unable to get this code replacement in java se 6 API
kinldy help if u know any such class/function
Thanks

Hi msalahu, you could try compiling the source code from the command line and add the "deprecation" switch, which will show you a description of members/classes that have been used and have been deprecated. Then you ought to refer to the appropriate class documentation for what part of the API you should use as a replacement. E.G.

javac [I]ClassName[/I].java -deprecation

I hope this helps!

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.