← Back to team overview

openjdk team mailing list archive

Bug#766704: openjdk-7: don't create /etc/.java

 

The path /etc/.java is defined in FileSystemPreferences.java [1]. We
could probably change it to /etc/java/prefs or /var/lib/java/prefs. But
do we really want to deviate from upstream for such a minor cleanup of
the /etc directory? Changing the directory means we can no longer use
the OpenJDK package as a drop-in replacement of the Oracle JDK, and vice
versa. An application using the system store wouldn't find its data
after the switch (but this feature is rarely used, so that may be a
purely theoretical issue).

Emmanuel Bourg

[1]
http://hg.openjdk.java.net/jdk8/jdk8/jdk/file/687fd7c7986d/src/solaris/classes/java/util/prefs/FileSystemPreferences.java#l162


Follow ups

References