Hi!

I have created a proof of concept implementation of my GSoC project [1]:
introducing code generation to the serializers. The code is available here
[2]. Unfortunately I have run into a problem that I am unable to debug. I
generated some code that I compiled using the Janino compiler [4]. I did
not get any exception during the compilation, and I was able to get the
Class from the compiler. Unfortunately I am unable to get the list of the
constructors from the Class and can not debug what is the source of the
problem. There are no exceptions thrown, no errors displayed in the event
log, no fatal error logfile generated by the JVM, but the process
terminates (at line [3]). I suspect that the Class generated by the Janino
compiler is invalid, but it does not emit any exceptions or warnings. I am
using Oracle JDK 8, on Arch Linux. Have you seen any similar problem? Is
there a way to debug a situation like this? Is there a way to get extra
diagnostics from the Janino compiler?

@aljoscha: you have some experience with the Janino compiler, what do you
think?

Thanks in advance,
Gábor

[1] https://issues.apache.org/jira/browse/FLINK-3599
[2] https://github.com/Xazax-hun/flink/commits/serializer_codegen
[3]
https://github.com/Xazax-hun/flink/commit/af499d5bebe5c1dba6b970977852318346636a8f#diff-7a2080515bac95cec58032655867d6cfR57
[4] http://unkrig.de/w/Janino

Reply via email to