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

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -