diff -r 6517bf8e50d0 -r c46e0c9940d6 src/share/classes/com/sun/tools/javah/LLNI.java --- a/src/share/classes/com/sun/tools/javah/LLNI.java Wed Oct 10 18:34:46 2012 -0700 +++ b/src/share/classes/com/sun/tools/javah/LLNI.java Wed Oct 10 18:44:21 2012 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2002, 2012, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -647,7 +647,7 @@ %%% This may not be right, but should be called more often. */ protected final String nameToIdentifier(String name) { int len = name.length(); - StringBuffer buf = new StringBuffer(len); + StringBuilder buf = new StringBuilder(len); for (int i = 0; i < len; i++) { char c = name.charAt(i); if (isASCIILetterOrDigit(c))