Imagine your massive aircraft rebooting several times because of a java problem.
It has happened. It is never supposed to, but the vast majority of avionics programmers are neither aviation specialists nor engineers; they are merely computer programmers.