|  | @@ -274,7 +274,7 @@ public class JavaNativeModule {
 | 
		
	
		
			
			| 274 | 274 |  				} else if (specifiedName.indexOf('.') >= 0) {
 | 
		
	
		
			
			| 275 | 275 |  					if (!specifiedName.startsWith(pkg.fullName))
 | 
		
	
		
			
			| 276 | 276 |  						throw new IllegalArgumentException("Specified @Name as \"" + specifiedName + "\" for class: \"" + cls
 | 
		
	
		
			
			| 277 |  | -								.toString() + "\" but it's not in the module root package");
 | 
		
	
		
			
			|  | 277 | +								.toString() + "\" but it's not in the module root package: \"" + pkg.fullName + "\"");
 | 
		
	
		
			
			| 278 | 278 |  
 | 
		
	
		
			
			| 279 | 279 |  					classPkg = getPackage(basePackage + specifiedName.substring(pkg.fullName.length()));
 | 
		
	
		
			
			| 280 | 280 |  					className = specifiedName.substring(specifiedName.lastIndexOf('.') + 1);
 | 
		
	
	
		
			
			|  | @@ -306,9 +306,8 @@ public class JavaNativeModule {
 | 
		
	
		
			
			| 306 | 306 |  
 | 
		
	
		
			
			| 307 | 307 |  		//TypeVariableContext context = new TypeVariableContext();
 | 
		
	
		
			
			| 308 | 308 |  		TypeVariable<Class<T>>[] javaTypeParameters = cls.getTypeParameters();
 | 
		
	
		
			
			| 309 |  | -		TypeParameter[] typeParameters = new TypeParameter[cls.getTypeParameters().length];
 | 
		
	
		
			
			|  | 309 | +        TypeParameter[] typeParameters = new TypeParameter[cls.getTypeParameters().length];
 | 
		
	
		
			
			| 310 | 310 |  		definition.typeParameters = typeParameters;
 | 
		
	
		
			
			| 311 |  | -
 | 
		
	
		
			
			| 312 | 311 |  		for (int i = 0; i < javaTypeParameters.length; i++) {
 | 
		
	
		
			
			| 313 | 312 |  			//Put up here for nested parameters?
 | 
		
	
		
			
			| 314 | 313 |  			TypeVariable<Class<T>> typeVariable = javaTypeParameters[i];
 | 
		
	
	
		
			
			|  | @@ -324,7 +323,7 @@ public class JavaNativeModule {
 | 
		
	
		
			
			| 324 | 323 |  				TypeID type = loadType(context, bound).type;
 | 
		
	
		
			
			| 325 | 324 |  				parameter.addBound(new ParameterTypeBound(CodePosition.NATIVE, type));
 | 
		
	
		
			
			| 326 | 325 |  			}
 | 
		
	
		
			
			| 327 |  | -			typeParameters[i] = parameter;
 | 
		
	
		
			
			|  | 326 | +            typeParameters[i] = parameter;
 | 
		
	
		
			
			| 328 | 327 |  		}
 | 
		
	
		
			
			| 329 | 328 |  
 | 
		
	
		
			
			| 330 | 329 |  		if (!foundRegistry && definition instanceof ClassDefinition && cls.getAnnotatedSuperclass() != null && shouldLoadType(cls.getAnnotatedSuperclass().getType())) {
 | 
		
	
	
		
			
			|  | @@ -343,7 +342,6 @@ public class JavaNativeModule {
 | 
		
	
		
			
			| 343 | 342 |  				compiled.setImplementationInfo(member, new JavaImplementation(true, javaClass));
 | 
		
	
		
			
			| 344 | 343 |  			}
 | 
		
	
		
			
			| 345 | 344 |  		}
 | 
		
	
		
			
			| 346 |  | -
 | 
		
	
		
			
			| 347 | 345 |  		compiled.setClassInfo(definition, javaClass);
 | 
		
	
		
			
			| 348 | 346 |  
 | 
		
	
		
			
			| 349 | 347 |  		StoredType thisType = new StoredType(registry.getForMyDefinition(definition), AutoStorageTag.INSTANCE);
 |