I am wondering whether we want to rely upon
java.lang.reflect.Constructor.newInstance supporting undocumented
behavior. Specifically, I found this line in our version of
Class.java:
return constructor.newInstance(null);
This strikes me as relying on Constructor.newinstance(Object
Steven Augart wrote:
it seems
to me that we don't want to constrain the VM's reflection optimization
to support this.
Oops. I meant to write we don't want to constrain the VM's
reflection *implementation* to support this.
--Steve Augart
--
Steven Augart
Jikes RVM, a free, open source, Virtual
Steven Augart writes:
I am wondering whether we want to rely upon
java.lang.reflect.Constructor.newInstance supporting undocumented
behavior. Specifically, I found this line in our version of
Class.java:
return constructor.newInstance(null);
This strikes me as relying
3 matches
Mail list logo