kiesel / johanna

JoHannah Session Server
MIT License
1 stars 2 forks source link

Fix issue #1 #2

Closed thekid closed 10 years ago

thekid commented 10 years ago

The problem is that the code in JohannahServer relies on a specific invocation order of the annotated methods. As these are discovered by reflective means using Class::getDeclaredMethods(), and there is no guaranteed order in this according to the Java specification, I've rewritten the code to work independend of it using Java 8 closures.

kiesel commented 10 years ago

This project is meant to be build w/ JDK 7. I'd like to keep this - can you adjust your code accordingly?

thekid commented 10 years ago

OK, I'll come up with a solution

kiesel commented 10 years ago

Ok, then.