realm-java icon indicating copy to clipboard operation
realm-java copied to clipboard

Code generation fails when there is no package

Open kspangsege opened this issue 14 years ago • 2 comments

CodeGenProcessor.calculatePackageName() and/or its caller processAnnotatedElements() assumes that the customers code lives in a Java package. When it does not, the generator fails.

kspangsege avatar Aug 19 '12 01:08 kspangsege

We should also handle the case when there is no package defined.

bmunkholm avatar Aug 27 '12 12:08 bmunkholm

Fixed, thanks for the good observation!

nmihajlovski avatar Aug 27 '12 17:08 nmihajlovski