Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Java-SDO-Next
-
None
-
You should see this error in any environment.
Description
Use an Abstract type as a parameter of DataObject.create() and it works fine now without any exception, but it should throw an exception.
According to the spec in section 3.7.2 Creating Data Objects, it reads:
- Type.dataType and abstract must be both fase.
- Throw an IllegalArgumentException if the instanceClass does not correspond to a Type this factory can instantiate.