Revision: 9415
Author: sco...@google.com
Date: Tue Dec 14 07:18:04 2010
Log: 1.5 compat fix
http://code.google.com/p/google-web-toolkit/source/detail?r=9415
Modified:
/trunk/dev/core/src/com/google/gwt/dev/javac/typemodel/TypeOracle.java
=======================================
--- /trunk/dev/core/src/com/google/gwt/dev/javac/typemodel/TypeOracle.java
Thu Dec 9 10:54:59 2010
+++ /trunk/dev/core/src/com/google/gwt/dev/javac/typemodel/TypeOracle.java
Tue Dec 14 07:18:04 2010
@@ -688,7 +688,7 @@
private List<JClassType> classChain(JClassType cls) {
LinkedList<JClassType> chain = new LinkedList<JClassType>();
while (cls != null) {
- chain.push(cls);
+ chain.addFirst(cls);
cls = cls.getSuperclass();
}
return chain;
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors