[rfc] [icedtea-web] make PAthsAndFilles to follow seted paths III

Jiri Vanek jvanek at redhat.com
Mon Mar 30 15:56:21 UTC 2015


Hi!

This patch is adding setter to InfrastructureFileDescriptor

99% of code  of it is moreover simple renaming. in PathsAndFiles

Genrally  I added getPropertiesKey "nearly abstract method" to InfrastructureFileDescriptor. If 
overriden, then file is setupable in runtime.

And it is much more comfortable to use FILE.setValue then all this 
Runtime.getConfig.setproperty(somekey)....


After this patch is in, last small work will be on the way.

I'm going to change

  public CacheLRUWrapper(final File recentlyUsed, final File cacheDir) {

to

  public CacheLRUWrapper(final InfrastructureFileDescriptor recentlyUsed, final 
InfrastructureFileDescriptor cacheDir) {

It should do whole trick with setupable cache in unittests and finish the whole work about 
PathsAndFiles I hope.

But it will need a lot of testing, so I'm keeping this second party of "[rfc] [icedtea-web] make 
PAthsAndFilles to follow seted paths III" for tomorrow

Thank you for reviews!

J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: addSettersForInfrastructureFileDescriptor.patch
Type: text/x-patch
Size: 17284 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20150330/dd5ff920/addSettersForInfrastructureFileDescriptor.patch>


More information about the distro-pkg-dev mailing list