--- a/langtools/src/share/classes/com/sun/tools/javac/jvm/Gen.java Fri Sep 12 23:32:51 2008 -0700
+++ b/langtools/src/share/classes/com/sun/tools/javac/jvm/Gen.java Tue Sep 16 18:35:18 2008 -0700
@@ -61,7 +61,7 @@
private final Check chk;
private final Resolve rs;
private final TreeMaker make;
- private final Name.Table names;
+ private final Names names;
private final Target target;
private final Type stringBufferType;
private final Map<Type,Symbol> stringBufferAppend;
@@ -92,7 +92,7 @@
protected Gen(Context context) {
context.put(genKey, this);
- names = Name.Table.instance(context);
+ names = Names.instance(context);
log = Log.instance(context);
syms = Symtab.instance(context);
chk = Check.instance(context);
@@ -365,7 +365,7 @@
private boolean isOddAccessName(Name name) {
return
name.startsWith(accessDollar) &&
- (name.byteAt(name.len - 1) & 1) == 1;
+ (name.getByteAt(name.getByteLength() - 1) & 1) == 1;
}
/* ************************************************************************