Hi, current shared-mime-info detects Java source code as C source code if it starts with a /* ... */ or // comment. Attached patch fixes this. Bye
Created attachment 8180 [details] [review] java-parentclass.patch
2007-02-05 Bastien Nocera <hadess@hadess.net> * freedesktop.org.xml.in: Patch from Sebastian Dröge <slomo@ubuntu.com> to not mis-detect Java files as C when they start with comments (Closes: #9407), same trick with CSS files (Closes: #9469)
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.