{"action":"created","issue":{"url":"https://api.github.com/repos/servo/servo/issues/21330","repository_url":"https://api.github.com/repos/servo/servo","labels_url":"https://api.github.com/repos/servo/servo/issues/21330/labels{/name}","comments_url":"https://api.github.com/repos/servo/servo/issues/21330/comments","events_url":"https://api.github.com/repos/servo/servo/issues/21330/events","html_url":"https://github.com/servo/servo/issues/21330","id":347155823,"node_id":"MDU6SXNzdWUzNDcxNTU4MjM=","number":21330,"title":"Validate all JNI symbols at build time","user":{"login":"jdm","id":27658,"node_id":"MDQ6VXNlcjI3NjU4","avatar_url":"https://avatars1.githubusercontent.com/u/27658?v=4","gravatar_id":"","url":"https://api.github.com/users/jdm","html_url":"https://github.com/jdm","followers_url":"https://api.github.com/users/jdm/followers","following_url":"https://api.github.com/users/jdm/following{/other_user}","gists_url":"https://api.github.com/users/jdm/gists{/gist_id}","starred_url":"https://api.github.com/users/jdm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdm/subscriptions","organizations_url":"https://api.github.com/users/jdm/orgs","repos_url":"https://api.github.com/users/jdm/repos","events_url":"https://api.github.com/users/jdm/events{/privacy}","received_events_url":"https://api.github.com/users/jdm/received_events","type":"User","site_admin":false},"labels":[{"id":268142805,"node_id":"MDU6TGFiZWwyNjgxNDI4MDU=","url":"https://api.github.com/repos/servo/servo/labels/A-build","name":"A-build","color":"d7e102","default":false},{"id":15999543,"node_id":"MDU6TGFiZWwxNTk5OTU0Mw==","url":"https://api.github.com/repos/servo/servo/labels/B-interesting-project","name":"B-interesting-project","color":"e102d8","default":false},{"id":17039183,"node_id":"MDU6TGFiZWwxNzAzOTE4Mw==","url":"https://api.github.com/repos/servo/servo/labels/I-papercut","name":"I-papercut","color":"e10c02","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-02T20:07:18Z","updated_at":"2018-08-02T20:42:42Z","closed_at":null,"author_association":"MEMBER","body":"There should be some way to ingest the interface in the [java code](https://github.com/servo/servo/blob/master/support/android/apk/servoview/src/main/java/com/mozilla/servoview/JNIServo.java#L10-L72) and verify that the finished libsimpleservo build contains the equivalent symbols from https://github.com/servo/servo/blob/master/ports/libsimpleservo/src/jniapi.rs."},"comment":{"url":"https://api.github.com/repos/servo/servo/issues/comments/410061600","html_url":"https://github.com/servo/servo/issues/21330#issuecomment-410061600","issue_url":"https://api.github.com/repos/servo/servo/issues/21330","id":410061600,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDA2MTYwMA==","user":{"login":"KiChjang","id":3248587,"node_id":"MDQ6VXNlcjMyNDg1ODc=","avatar_url":"https://avatars0.githubusercontent.com/u/3248587?v=4","gravatar_id":"","url":"https://api.github.com/users/KiChjang","html_url":"https://github.com/KiChjang","followers_url":"https://api.github.com/users/KiChjang/followers","following_url":"https://api.github.com/users/KiChjang/following{/other_user}","gists_url":"https://api.github.com/users/KiChjang/gists{/gist_id}","starred_url":"https://api.github.com/users/KiChjang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KiChjang/subscriptions","organizations_url":"https://api.github.com/users/KiChjang/orgs","repos_url":"https://api.github.com/users/KiChjang/repos","events_url":"https://api.github.com/users/KiChjang/events{/privacy}","received_events_url":"https://api.github.com/users/KiChjang/received_events","type":"User","site_admin":false},"created_at":"2018-08-02T20:42:42Z","updated_at":"2018-08-02T20:42:42Z","author_association":"MEMBER","body":"So, `javah` (which comes with any JDK installation) can help with this by generating a C header file for each `native` statement contained within a Java file.\r\n\r\nThe command that I run to get the C header file output is `javah -jni -v -d /path/to/output /path/to/java/file.java`."}}
{"actor":{"display_login":"KiChjang"}}