Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0 final
-
Fix Version/s: 2.0.1
-
Component/s: Project infrastructure
-
Labels:
-
Environment:All
Description
A exception will be thrown when setting field with primitive by java reflection value in BootStrap.groovy or in services code. Exception message like: Can not set byte field TestClass.b to java.lang.Byte
Test code attached. Just create an empty grails 2.0 project, and use BootStrap.groovy in attachement.
Fixed in springloaded 1.0.4 build snapshots.