'val' didn't work on ecj/eclipse when referring to types in the default package. fixed.

This commit is contained in:
Reinier Zwitserloot committed 2010-11-09 00:15:35 +01:00
1 parent 956165cc8a
commit 98d8a9f63b
1 file changed
+1
+1
View File
@@ -410,6 +410,7 @@ public class Eclipse {
} else {
String[] pkg = new String(binding.qualifiedPackageName()).split("\\.");
String[] name = new String(binding.qualifiedSourceName()).split("\\.");
if (pkg.length == 1 && pkg[0].isEmpty()) pkg = new String[0];
parts = new char[pkg.length + name.length][];
int ptr;
for (ptr = 0; ptr < pkg.length; ptr++) parts[ptr] = pkg[ptr].toCharArray();