diff options
author | Anton Leherbauer | 2014-11-25 07:43:30 +0000 |
---|---|---|
committer | Anton Leherbauer | 2014-11-25 07:43:30 +0000 |
commit | e358dcc6a09857bc070e852365c837846b3c1394 (patch) | |
tree | 0050f3aeba663894d73b9c6135392d175b5b8fc2 /plugins | |
parent | 2ff1adbb7e1ca0479bcdafe645f887cd7e232f12 (diff) | |
download | org.eclipse.tcf-e358dcc6a09857bc070e852365c837846b3c1394.tar.gz org.eclipse.tcf-e358dcc6a09857bc070e852365c837846b3c1394.tar.xz org.eclipse.tcf-e358dcc6a09857bc070e852365c837846b3c1394.zip |
TCF Debugger: Fix NPE in case of unsupported FP format
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFNumberFormat.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFNumberFormat.java b/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFNumberFormat.java index 753f282a5..e697b5073 100644 --- a/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFNumberFormat.java +++ b/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFNumberFormat.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2008, 2013 Wind River Systems, Inc. and others. + * Copyright (c) 2008, 2014 Wind River Systems, Inc. and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -270,7 +270,7 @@ public class TCFNumberFormat { exponent -= 16383; // Exponent bias break; default: - return null; + return "Unsupported floating point format"; } if (nan) { for (int i = 0; i < arr.length; i++) { |