facebook

UML – Java inheritence bug

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #230614 Reply

    First off I am loving the new UML support. Keep up the good work.

    In the class diagram view I found this error, while making a base class, then a subclass… The tool allows for multiple inheritence. While not bad for diagramming. When using the generate java part of the tool, it creates invalid java.

    Here is an example:

    public class CheckBO extends BaseBo, BaseBo {}

    Java doesn’t support multiple inheritence. So this is an uncompilable class.

    I actually like that the tool is not tailored to just java diagramming. However, you should not be able to extend the same base class twice. I can understand two seperate base classes however.

    Maybe the “generate java” command could display a list of warnings for diagrams which are not tailored perfectly to java, such as ones with multiple inheritence. And give possible resolutions to those problems.
    Well its just a thought.

    Whatever the decision, I look forward to see where this evolves.

    #230621

    Riyad Kalla
    Member

    First off I am loving the new UML support. Keep up the good work.

    Very cool glad you like it.

    The tool allows for multiple inheritence. While not bad for diagramming. When using the generate java part of the tool, it creates invalid java.

    I will let the UML devs know about this asap, thank you.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: UML – Java inheritence bug

You must be logged in to post in the forum log in