Bug 1352 - Java binding compile error
Summary: Java binding compile error
Status: CONFIRMED
Alias: None
Product: libsigrok
Classification: Unclassified
Component: Bindings: Java (show other bugs)
Version: unreleased development snapshot
Hardware: All All
: Normal normal
Target Milestone: ---
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-20 12:23 CET by Gerhard Sittig
Modified: 2020-01-10 17:04 CET (History)
1 user (show)



Attachments
Java bindings fix (1.16 KB, patch)
2020-01-10 17:02 CET, Anatol
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gerhard Sittig 2019-01-20 12:23:53 CET
User probonopd (AppImage maintainer) reported via IRC that the Java binding 
suffers from a build error:

ever seen this error?
copying selected object files to avoid basename conflicts...
  GEN      bindings/java/sigrok-core.jar
bindings/java/org/sigrok/core/classes/ConfigKey.java:758: error: int cannot be dereferenced
    return new Variant(classesJNI.ConfigKey_parse_string__SWIG_0(value, dt.swigValue()), true);

A workaround is to --disable-java (the smuview app which an image shall get 
created for does not depend on the Java binding).
Comment 1 Anatol 2020-01-10 17:02:08 CET
Created attachment 583 [details]
Java bindings fix

Proposed fix for the java bindings issue
Comment 2 Anatol 2020-01-10 17:04:14 CET
Oops sorry. My patch is supposed for https://sigrok.org/bugzilla/show_bug.cgi?id=1468