Get rid of uninitialized warning in json.c

Signed-off-by: Jakub Filak <jfilak@redhat.com>
Signed-off-by: Martin Milata <mmilata@redhat.com>
java_frame: parse class path url

Possible urls:
* file:/usr/lib/java/Foo.class
* http://usr/lib/java/Foo.class
* jar:file:/usr/lib/java/foo.jar!/Foo.class
* jar:http://locahost/usr/lib/java/foo.jar!/Foo.class

The urls are producet by java.net.URL.toExternalForm() returned by
java.lang.ClassLoade.getResource()

Related to abrt/abrt#595

Signed-off-by: Jakub Filak <jfilak@redhat.com>
Signed-off-by: Martin Milata <mmilata@redhat.com>
java_frame: use class_path in *_append_to_str()

We lose some information, but it is intentional. Right now, we only need
a path to a file on local filesystem. java_frame structure can be
extended later if it is required.

Origin URL:
jar:http://localhost/SimpleTest.jar!/SimpleTest.class

Printed URL:
http://localhost/SimpleTest.jar

Related to abrt/abrt#595

Signed-off-by: Jakub Filak <jfilak@redhat.com>
Signed-off-by: Martin Milata <mmilata@redhat.com>
unittest: adapt java_frame tests to the last commits

Related to abrt/abrt#595

Signed-off-by: Jakub Filak <jfilak@redhat.com>
Signed-off-by: Martin Milata <mmilata@redhat.com>