commit | d3e57403913382d4173c3190b38ab1aae136c565 | [log] [tgz] |
---|---|---|
author | Andy McFadden <fadden@android.com> | Thu Apr 30 17:47:50 2009 -0700 |
committer | Andy McFadden <fadden@android.com> | Thu Apr 30 17:53:01 2009 -0700 |
tree | 3dc9af7678d975f41baf3d5479f384bee5812319 | |
parent | 7ed7f131ca988d0cbc857e9024becd6d37688e5b [diff] |
Corrected behavior of Constructor.newInstance on abstract classes. The VM now throws an exception when somebody tries to create an instance of an abstract class through a Constructor object. It also ensures that the class is initialized before attempting to create an instance. This change adds some Constructor tests to the 042-new-instance VM test.