liuzhong0811
V2EX  ›  Java

线程中的 getName 方法为什么也带上了删除线

  •  
  •   liuzhong0811 · Oct 10, 2015 · 3401 views
    This topic created in 3883 days ago, the information mentioned may be changed or developed.

    我的 eclipse 为什么连 Thread 的 getName 也进行了抛弃。。。还是最新的 JDK 导致的。。求解释

    http://i13.tietuku.com/a8ce790a791b4a6e.png

    4 replies    2015-10-12 09:31:06 +08:00
    hcymk2
        1
    hcymk2  
       Oct 10, 2015
    我的 eclipse 没有
    看了下 j8 的文档也没有 Deprecated
    chenwen
        2
    chenwen  
       Oct 10, 2015
    我这边没有呢
    liuzhong0811
        3
    liuzhong0811  
    OP
       Oct 11, 2015
    @hcymk2 文档没有。。但是我的 ECLIPSE 为什么有啊。。。求解释
    我也是新装的 MARS 版本才有的
    yuriko
        4
    yuriko  
       Oct 12, 2015
    这个横线应该是函数声明了 @Deprecated 吧……
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5369 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 43ms · UTC 08:53 · PVG 16:53 · LAX 01:53 · JFK 04:53
    ♥ Do have faith in what you're doing.