| Summary: | NullValueException is not thrown when returning a null value from a non-nullable return of type Any | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Brian Svihovec <svihovec> |
| Component: | EDT | Assignee: | Project Inbox <edt.javagen-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | jeffdouglas, mheitz, pharmon, tww |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 368734 | ||
fixed Verified in Version: 0.8.0.v201202220747-1Co-FjuJ6QMNSKMxH4KG8_O_ |
Given the following EGL Source: data Any?; function getData()returns(any) data = null; return (data); end function main() SysLib.writestdout(getData()); end A NVE is not thrown at runtime. NOTE: An NVE is thrown if you change the type of 'data' to a 'String?' and change the return type of 'getData' to 'String' from 'any'.