shared-mime-info defines files starting by "/*" as a C source file. If you add an blank char before it it's detected as a java file. Is "/*" a regular java comment?
** Changed in: gedit (Ubuntu) Sourcepackagename: gedit => shared-mime-info Importance: Undecided => Low Status: Rejected => Confirmed -- GEdit opens java files with C source highlighting https://launchpad.net/bugs/64869 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs