Bugs in JMI interface generation
Holger Krug <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.mdr.devel |
|---|---|
| Message-ID | <[email protected]> |
In browsing the TagProvider/TagSupport code I found that there seem to be two bugs: - javax.jmi.packagePrefix according to JMI spec (4.6.1 on page 51) should be applied only to outermost packages, but the mentioned code searches the nearest package enclosing a model element (e.g. TagSupport lines 265-267) - There is no way to invalidate the valueCache, although it should be done before every start of JMI interface generation (We had very strange results, when we changed the tag value and then restarted interface generation. Sometimes the java package names were derived from the old tag values, sometimes from the new tag values.) -- Holger Krug [email protected]