tmf: Accept Integer key values as string in Regex Multimap parametersIn extractRegexFilter check if provided key values are stringinstead of integer.For example in REGEX_MAP_FILTERS user could specify a key value pairas {"1": ["string",...]} instead of {1: ["string",...]}.[Changed] Accept Integer keys as string in Regex Multimap parametersSigned-off-by: Hriday Panchasara <hriday.panchasara@ericsson.com>Change-Id: I9d409860a4027344705fd2bbd58c0b73878a3fb6Reviewed-on: https://git.eclipse.org/r/c/tracecompass/org.eclipse.tracecompass/+/197273Tested-by: Trace Compass Bot <tracecompass-bot@eclipse.org>Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
pcap.core: No longer throw exceptions in constructorsDon't throw exceptions in try-with-resources. This leads to suppressedexceptions - IllegalArgumentExceptions wrapping the checked exception.This in turn leads to trace auto-detection on certain trace types,namely GDB not working since they are after the unhandled exception.Bug 812934[Security] Have safe exits to avoid throwing exception in PCAP constructors[Changed] Fix spurious trace autodetect for single filesChange-Id: I5ae902cfa500c7f94273a80d65ccf4746dcddfa3Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>Reviewed-on: https://git.eclipse.org/r/c/tracecompass/org.eclipse.tracecompass/+/201859Tested-by: Trace Compass Bot <tracecompass-bot@eclipse.org>Tested-by: Patrick Tasse <patrick.tasse@gmail.com>Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>