I forgot to make the constructor accessible when creating a String by reflection in CPStringBuilder.
ChangeLog: 2008-02-30 Andrew John Hughes <[EMAIL PROTECTED]> * gnu/classpath/CPStringBuilder.java: Make the constructor accessible. -- Andrew :) Support Free Java! Contribute to GNU Classpath and the OpenJDK http://www.gnu.org/software/classpath http://openjdk.java.net PGP Key: 94EFD9D8 (http://subkeys.pgp.net) Fingerprint = F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8
Index: gnu/java/lang/CPStringBuilder.java =================================================================== RCS file: /sources/classpath/classpath/gnu/java/lang/CPStringBuilder.java,v retrieving revision 1.1 diff -u -3 -p -u -r1.1 CPStringBuilder.java --- gnu/java/lang/CPStringBuilder.java 1 Mar 2008 10:13:30 -0000 1.1 +++ gnu/java/lang/CPStringBuilder.java 1 Mar 2008 12:00:40 -0000 @@ -87,6 +87,7 @@ public final class CPStringBuilder { cons = String.class.getDeclaredConstructor(char[].class, Integer.TYPE, Integer.TYPE, Boolean.TYPE); + cons.setAccessible(true); } catch (NoSuchMethodException e) {
signature.asc
Description: Digital signature