adjust FQN for OTREInternalError
diff --git a/org.eclipse.jdt.core/compiler/org/eclipse/objectteams/otdt/core/compiler/IOTConstants.java b/org.eclipse.jdt.core/compiler/org/eclipse/objectteams/otdt/core/compiler/IOTConstants.java
index aead00a..af0aec7 100644
--- a/org.eclipse.jdt.core/compiler/org/eclipse/objectteams/otdt/core/compiler/IOTConstants.java
+++ b/org.eclipse.jdt.core/compiler/org/eclipse/objectteams/otdt/core/compiler/IOTConstants.java
@@ -227,6 +227,12 @@
"IBaseMigratable".toCharArray()};
public static final char[] MIGRATE_TO_BASE = "migrateToBase".toCharArray();
+ public static final char[][] OTRE_INTERNAL_ERROR = new char[][]{"org".toCharArray(),
+ "eclipse".toCharArray(),
+ "objectteams".toCharArray(),
+ "otre".toCharArray(),
+ "OTREInternalError".toCharArray()};
+
// Type IDs (cf. type TypeIds)
public static final int T_OrgObjectTeamsITeam = 64;
public static final int T_OrgObjectTeamsTeam = 65;
diff --git a/org.eclipse.jdt.core/compiler/org/eclipse/objectteams/otdt/internal/core/compiler/lookup/SyntheticBaseCallSurrogate.java b/org.eclipse.jdt.core/compiler/org/eclipse/objectteams/otdt/internal/core/compiler/lookup/SyntheticBaseCallSurrogate.java
index 79af171..de03d0f 100644
--- a/org.eclipse.jdt.core/compiler/org/eclipse/objectteams/otdt/internal/core/compiler/lookup/SyntheticBaseCallSurrogate.java
+++ b/org.eclipse.jdt.core/compiler/org/eclipse/objectteams/otdt/internal/core/compiler/lookup/SyntheticBaseCallSurrogate.java
@@ -71,7 +71,7 @@
MethodModel.saveReturnType(this, origReturnType);
// fetch type bindings while we have a scope:
Scope scope = declaringClass.scope;
- this.errorType = scope.getType(new char[][]{"org".toCharArray(), "objectteams".toCharArray(), "transformer".toCharArray(), "OTREInternalError".toCharArray()}, 4);
+ this.errorType = scope.getType(IOTConstants.OTRE_INTERNAL_ERROR, 5);
this.stringType = scope.getJavaLangString();
// the synthetic methods of a class will be sorted according to a per-class index, find the index now:
SyntheticMethodBinding[] knownAccessMethods = declaringClass.syntheticMethods();