Hi,

On 2016-08-29 21:01, Tagir Valeev wrote:
Hello!

(2) to use Collections.singleton() as Claes suggested. It appears the
"singleton set" is
better choice (light) in this case.

Btw why not new-and-cool Set.of() ?
http://download.java.net/java/jdk9/docs/api/java/util/Set.html#of-E-

this is a bit subtle, but there's a special restriction on the jrtfs
code to only use 8-compatible APIs to be able to produce the jrt-fs.jar
that can be used on JDK 8 to interact with Java 9 runtime images.

Thanks!

/Claes

Reply via email to