±Û¾´ÀÌ :±è¸í»ï 2000³â 6¿ù 12ÀÏ 08:47:35
1. -deprecation¿É¼ÇÀ¸·Î ÄÄÆÄÀÏÇϸé ÀÚ¼¼ÇÑ Á¤º¸¸¦ ¾òÀ»¼ö ÀÖ´Ù°í ¸Þ¼¼Áö°¡ ³ª¿Í¼ ÄÄÆÄÀÏ Çߴµ¥
2.
c:> javac -deprecation telnet.java
telnet.java:210: Note: The method void resize(int, int) in class java.awt.Compon
ent has been deprecated.
frame.resize(380, 590);
^
telnet.java:343: Note: The constructor java.lang.String(byte[],int) has been dep
recated.
String tmp = new String(tio.receive(), 0);
^
telnet.java:415: Note: The method void getBytes(int, int, byte[], int) in class
java.lang.String has been deprecated.
str.getBytes(0, str.length(), bytes, 0);
^
telnet.java:496: Note: The method void getBytes(int, int, byte[], int) in class
java.lang.String has been deprecated.
str.getBytes(0, str.length(), bytes, 0);
^
telnet.java:523: Note: The method void getBytes(int, int, byte[], int) in class
java.lang.String has been deprecated.
str.getBytes(0, str.length(), bytes, 0);
^
Note: telnet.java uses or overrides a deprecated API. Please consult the docume
ntation for a better alternative.
1 warning
3. ÀÌ Ãâ·Â¹®ÀÌ ÀǹÌÇÏ°Ô ¹¹¿¹¿ä.?
4. ¾Ë·ÁÁÖ½Ã¸é °¨»çÇÏ°Ú½À´Ï´Ù.