How do you compile static code models in Optimal Advisor

0 Likes

Problem:

How do you compile static code models in Optimal Advisor

Resolution:

If a class uses a static member of another class, this is a mere implementation detail. When a class implements an interface, it becomes part of the classes public API. Implementation details should not leak into public API's. Optimal Advisor will not compile the code.

The OptimalAdvisor.jar file has been modified to read static members within a class. Following are a set of instructions to change the OptimalAdvisor.jar file. Attached is a copy of the modified file.

1. Rename the original OptimalAdvisor.jar file

2. Copy the attached OptimalAdvisor.jar file into the path that your original OptimalAdvisor.jar file is located

3. Run OptimalAdvisor this should compile the static application

Old KB# 11391
Comment List
Anonymous
Related Discussions
Recommended