Hi guys,

using anonymous classes with 2.5.7 does not handle references properly
compared to 2.5.6:

error I get:

static java.nio.file.Files.copy() is applicable for argument types:
(sun.nio.fs.UnixPath, Reference)

Code implements a new SimpleFileVisitor<Path>() {...} inline and uses a
reference defined before the class (~final in java).

Is it known?

Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-ee-8-high-performance>

Reply via email to