Mark Struberg a écrit : > Hi! > > Could you please checkout the latest branches/owb-1.2.x? > > I implemented some fallbacks which get used when running on GAE now. > > It basically boils down to not using Unsafe but newInstance() if we cannot > get the allocate method from Unsafe. Of course this has some impact and > might slow down your beans a bit, but it should work fine for now. I tested it and it seems to work. Thanks !
However, it seems to me that the SPI approach that you suggested first is better. For complex objects, running the constructor everytime might be significant performance hit. The newInstance way could be another selectable implementation... Thanks again, Ludovic | | AVANT D'IMPRIMER, PENSEZ A L'ENVIRONNEMENT. |
