Sun Identity Manager 8.1 发行说明

构造函数调用

因为 Java 分析策略中存在某些限制,所以 this()super() 的初始调用将显示为构造函数调用的同级调用,而不是子级调用。请参见以下示例:


class A
{
   public A()
   {
      this(0);
   }
   public A(int i)
   {
   }
}

and:

class B
{
   public static void test()
   {
      new A();
   }
}
The call tree will look like this:
B.test()
   -A.<init>(int)
   -A.<init>()
Rather than this:
B.test()
   -A.<init>()
      -A.<init>(int)