Main Menu

jpct 0.94 bug

Started by Bart, September 27, 2003, 04:25:35 PM

Previous topic - Next topic

Bart

Two bugs:
1) In Jpct 0.94, Config.VERSION still returns 0.92
2) Loading a jaw file using loadJaw will cause an exception if the jaw file doesn't contains a return at the end

EgonOlsen

VERSION is final static, so if you compile your application against 0.92 (for example) and are simply replacing the jpct.jar with a newer version without doing a recompile, your application will still say "0.92". That's bad...i'll deprecate VERSION in 0.95 and offer a getVersion()-method instead.
You are right about the JAW-problem. I'll fix it in 0.95.

Thanks for the feedback.

Bart

Quote from: "EgonOlsen"VERSION is final static, so if you compile your application against 0.92 (for example) and are simply replacing the jpct.jar with a newer version without doing a recompile, your application will still say "0.92".

I've recompiled my application and it works now. Thanks for your help.