[DOMA-298] [Core] カスタム関数で型パラメータを使うと実行時エラーになることがある問題を解決しました Created: 2013-09-05 Updated: 2013-09-19 Resolved: 2013-09-19 |
|
Status: | Closed |
Project: | Doma |
Component/s: | Core |
Affects Version/s: | None |
Fix Version/s: | 1.34.0 |
Type: | Bug | Priority: | Major |
Reporter: | taedium | Assignee: | taedium |
Resolution: | Fixed | Votes: | 0 |
Labels: | None |
Description |
https://twitter.com/shinsukeoda/status/375497786432573440 パラメータの型がObjectで引数の型がインタフェースの場合に発生することがわかった。型パラメータは実行時にはObjectとして解釈されるため以下のケースで現象が再現する。 <T> boolean isNullOrEmpty(T value)
|