Follow by Email

Tuesday, September 11, 2007

The dark forces of evil have conspired against this program !

No comment... !

Update: As confusing as it may seem, but it has a reasons. The Java compiler doesn't recompile already compiled files if a file they depend on have been changed since the last compile time (doesn't consider dependencies). The SEGMENT_LENGTH _IN_KILOBIT is final static variable involved with other constants in an arithmetic operation, the compiler optimizes that (constant folding). So when CoolStreaming class gets recompiled (the value of that final static variable changes), this class won't get updated with new value, although the debugger did. A clean rebuild is sufficient to solve that.

No comments: