Unified Queries for Java
Go to file
Maurus Cuelenaere 351b70f7d2 Fix AbstractEvaluatorFactory.toId() not taking into account constants' types
AbstractEvaluatorFactory ignored the types of constants when generating a classname.
As these generated classes get cached, this could result in stack traces like these:

java.lang.IllegalArgumentException: Can not set com.mysema.codegen.ComplexEvaluationTest$SuperCat field Q_0606084786_65821278_65821278.a1 to com.mysema.codegen.support.Cat
	at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:164)
	at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:168)
	at sun.reflect.UnsafeObjectFieldAccessorImpl.set(UnsafeObjectFieldAccessorImpl.java:81)
	at java.lang.reflect.Field.set(Field.java:680)
	at com.mysema.codegen.AbstractEvaluatorFactory.createEvaluator(AbstractEvaluatorFactory.java:86)
2012-10-22 20:06:43 +02:00
src Fix AbstractEvaluatorFactory.toId() not taking into account constants' types 2012-10-22 20:06:43 +02:00
pom.xml updated version 2012-10-22 08:35:51 +03:00
template.mf added Eclipse JDT based compilation 2012-07-30 23:38:06 +03:00