任务单 #18893

Class.getInterfaces() returns wrong value.

开放日期: 2009-09-26 23:44 最后更新: 2009-10-07 23:58

报告人:
属主:
类型:
状态:
关闭
组件:
里程碑:
优先:
5 - Medium
严重性:
9 - Highest
处理结果:
Fixed
文件:

Details

The comparison to the same interface fails.

public interface Inter
{
}
public class SomeClass implements Inter
{
}
...
Class.forName("Inter") == SomeClass.class.getInterfaces()[0]; // <- failed.

It seems that Class.getInterfaces() returns wrong values.

任务单历史 (3/5 Histories)

2009-09-26 23:44 Updated by: freebeans
  • New Ticket "Class.getInterfaces() returns wrong value." created
2009-09-27 01:19 Updated by: freebeans
  • 里程碑 Update from (无) to jvm0.4.6 (关闭)
  • 处理结果 Update from to Fixed
2009-09-27 01:23 Updated by: freebeans
  • Details Updated
2009-09-27 01:24 Updated by: freebeans
  • Details Updated
2009-10-07 23:58 Updated by: freebeans
  • Ticket Close date is changed to 2009-10-07 23:58
  • 状态 Update from 开启 to 关闭

Attachment File List

No attachments

编辑

Please login to add comment to this ticket » 登录名