如果你的代码出现这个异常你就看看你的存储类中的Object类是否导了org.omg.CORBA.Object;这个包把它删掉就好了
Exception in thread "main" java.lang.ArrayStoreException
at java.lang.System.arraycopy(Native Method)
at com.matthew.SegmentTree.SegmentTree.<init>(SegmentTree.java
如果你的代码出现这个异常你就看看你的存储类中的Object类是否导了org.omg.CORBA.Object;这个包把它删掉就好了
Exception in thread "main" java.lang.ArrayStoreException
at java.lang.System.arraycopy(Native Method)
at com.matthew.SegmentTree.SegmentTree.<init>(SegmentTree.java