I could reproduce the problem.
You are trying to refer to a private API, see
http://www.oracle.com/technetwork/java/faq-sun-packages-142232.html
I could load the class via reflection (Class.forName) but not via direct
reference.
While searching I found some hints:
https://svn.forgerock.org/opend
Thanks Jan,
this withing the javac-argument solved the problem:
This grants access to the restricted API!
Markus ;)
-Ursprüngliche Nachricht-
Von: Jan Matèrne (jhm) [mailto:apa...@materne.de]
Gesendet: Dienstag, 20. Mai 2014 14:24
An: 'Ant Users List'
Betreff: AW: Cannot find symbol