This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
(1) How extensively should the JMIMapper check the model for well-formedness? That is, should it assume that the model is well-formed before it starts? Should it give its "best effort" to find problems with the metamodel? In particular, should a JMIMapper implementation verify the model constraints before starting the actual mapping? What should the JMIMapper do when it detects a violation of the rules that are specific to the JMI specification. For example, a value of javax.jmi.ignoreLifecycle that is neither "true" or "false", or a class nested inside another class, etc. If the JMIMapper is allowed to do anything besides silently ignore these types of errors, then I suggest that we add a new (set of) checked exception(s) that can be thrown by JMIMapper.generate(). In particular, if the JMIMapper checks the constraints from the MOF metamodel, then it should be possible to get the set of violated constraints. Similarly, if a JMI-specific error was found, there should be some way of finding out what that error was.
changed to request for enhancement
I am closing all reports in category Java/Unsupported as wontfix. These should be dead issues --- if the reported cases are against some live part of the NetBeans IDE please reopen and we can discuss to which category they belong.