hidden directories under /etc/

Alan Bateman Alan.Bateman at oracle.com
Thu Sep 29 21:43:04 UTC 2011


Omair Majid wrote:
> Hi,
>
> I recently discovered that openjdk creates hidden directories under 
> /etc/ [1]. I would like to propose that those directories should be 
> made explicit.
>
> webrev at:
> http://cr.openjdk.java.net/~omajid/webrevs/hidden-dirs-under-etc/01/
>
> The patch modifies the directory names to make them visible by 
> default. The directory /etc/java/ already exists on many linux 
> distributions - jpackage uses it - so it seems like a useful 
> replacement directory.
>
> The patch also renames systemPrefs to system-prefs to make it slightly 
> more consistent with existing directories under /etc/.
>
> Does anyone have any thoughts or concerns?
I don't think the preferences API is used very often but changing the 
default locations will mean that existing preferences are lost (unless 
you set java.util.prefs.userRoot and java.util.prefs.systemRoot to their 
original location). I'm not sure if it's worth the disruption it might 
cause.

-Alan.



More information about the core-libs-dev mailing list