This was a wrong settings issue not a bug. Thank you for reporting this
bug and feel free to report any more that you find.
** Changed in: gedit (Ubuntu)
Status: Needs Info => Rejected
--
GEdit opens java files with C source highlighting
https://launchpad.net/bugs/64869