jvm - Java: Weird ClassCastException in FreeTTS, gone after re-compiling -
i had freetts library throwing this:
exception in thread "main" java.lang.classcastexception: com.sun.speech.freetts.en.us.cmu_us_kal.kevinvoicedirectory cannot cast com.sun.speech.freetts.voicedirectory @ com.sun.speech.freetts.voicemanager.getvoices(voicemanager.java:113) @ cz.dynawest.speechbot.synt.mbrolaspeaker.<init>(mbrolaspeaker.java:38) @ cz.dynawest.speechbot.speechbot.<init>(speechbot.java:25) @ cz.dynawest.speechbot.speechbot.main(speechbot.java:65)
after decompiling kevinvoicedirectory.class
using jd-gui, recompiling, , putting .jar, ok.
afaik jvm , jls, should not happen.
sun jdk 1.6 on side.
freetts's build env unknown.
how explain?
thanks, ondra
Comments
Post a Comment