public static class HTCSP_RSA_ST extends Structure{
public HTCSP_RSA_PUB_ST ht_RSA_pub_st;
public HTCSP_RSA_PRI_ST ht_RSA_pri_st;public static class ByValue extends HTCSP_RSA_ST implements
Structure.ByValue {
}public static class ByReference extends HTCSP_RSA_ST implements
Structure.ByReference {
}
}public static class HTCSP_RSA_PUB_ST extends Structure {
public int dwbits;
public byte[] byModulus;
public byte[] bypublicExponent;public static class ByValue extends HTCSP_RSA_PUB_ST implements
Structure.ByValue {
}public static class ByReference extends HTCSP_RSA_PUB_ST implements
Structure.ByReference {
}
}public static class HTCSP_RSA_PRI_ST extends Structure {
public int dwbits;
public byte[] byModulus;
public byte[] bypublicExponent;
public byte[] byexponent;
public byte[][] byprime;
public byte[][] byprimeExponent;
public byte[] bycoefficient;public static class ByValue extends HTCSP_RSA_PRI_ST implements
Structure.ByValue {
}public static class ByReference extends HTCSP_RSA_PRI_ST implements
Structure.ByReference {
}
}
以上是结构体其中HTCSP_RSA_ST 中的属性为其他2个结构体
HTCSP_RSA_ST.ByReference phtcsp_rsa_st = new HTCSP_RSA_ST.ByReference();
在调用时报错java.lang.IllegalStateException: Array fields must be initialized
为什么new不出来?求助