Revision: 15714
http://jikesrvm.svn.sourceforge.net/jikesrvm/?rev=15714&view=revAuthor: dgrove-oss
Date: 2009-06-20 03:56:15 +0000 (Sat, 20 Jun 2009)
Log Message:
-----------
RVM-693 : TestSerialization broken on Harmony class libraries
Problem was NPE being raised while trying to raise a NoSuchMethodException.
Modified Paths:
--------------
rvmroot/trunk/libraryInterface/Common/src/java/lang/Class.java
Modified: rvmroot/trunk/libraryInterface/Common/src/java/lang/Class.java
===================================================================
--- rvmroot/trunk/libraryInterface/Common/src/java/lang/Class.java 2009-06-19 16:21:18 UTC (rev 15713)
+++ rvmroot/trunk/libraryInterface/Common/src/java/lang/Class.java 2009-06-20 03:56:15 UTC (rev 15714)
@@ -557,7 +557,7 @@
@NoInline
private void throwNoSuchMethodException(String name, Class<?>... parameterTypes) throws NoSuchMethodException {
String typeString;
- if (parameterTypes.length == 0) {
+ if (parameterTypes == null || parameterTypes.length == 0) {
typeString = "()";
} else {
typeString = "(";
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org_______________________________________________
Jikesrvm-commits mailing list
Jikesrvm-commits@...
https://lists.sourceforge.net/lists/listinfo/jikesrvm-commits