Okay, I am going to make it. Thanks for your help :-)

kind regards

Tobias

Am 26.10.15 um 10:10 schrieb Martin Grigorov:
java version "1.8.0_65"
Java(TM) SE Runtime Environment (build 1.8.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.65-b01, mixed mode)

Same version here.
I use Ubuntu but Martijn uses Mac as you and apparently he also doesn't
have this problem.


But make the change if this fixed the problem at your side. It looks minor.

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Mon, Oct 26, 2015 at 8:59 AM, Tobias Soloschenko <
[email protected]> wrote:

Mh,

I am using Java(TM) SE Runtime Environment (build 1.8.0_65-b17)

and to change the argument to final does not break anything, but resolves
the compile error.

Maybe it has something to do with the JVM?

kind regards

Tobias

Am 26.10.15 um 08:26 schrieb Martin Grigorov:

The build passes fine here.
Also BuildBot is OK: https://ci.apache.org/builders/wicket-master

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Mon, Oct 26, 2015 at 6:55 AM, Tobias Soloschenko <
[email protected]> wrote:

Hi,
I got a compile error when I am checking out the wicket-core project
(master branch):


/wicket-core/src/main/java/org/apache/wicket/application/ReloadingClassLoader.java

Cannot refer to the non-final local variable clz defined in an enclosing

scope

line 343

It is solved if I change the class method argument to be final (private
void watchForModifications(final Class<?> clz))

kind regards

Tobias



Reply via email to