Methods should contain final specifier when needed
Bug #1209889 reported by
Richard Gomes
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
JQuantLib |
New
|
Medium
|
Unassigned |
Bug Description
In C++, functions are non-virtual by default, which means that they cannot be overridden by default.
In Java, methods are virtual by default. In order to specify that a method cannot be overridden, we need to add the "final" keyword.
cpp2j must be aware of these differences and generate skeletons which contain the "final" keyword for those QuantLib/C++ functions which are non-virtual.
=============
Relationships
=============
child of http://
To post a comment you must log in.