Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvement in Ballerina FFI documentation #8708

Open
lnash94 opened this issue Feb 21, 2024 · 1 comment
Open

Improvement in Ballerina FFI documentation #8708

lnash94 opened this issue Feb 21, 2024 · 1 comment
Assignees
Labels
Category/Content All written content related issues (Technical content, english language etc) Type/Improvement Improvements required on the website.

Comments

@lnash94
Copy link
Member

lnash94 commented Feb 21, 2024

Description

I was trying to write the ballerina external function that has Java implementation with my own class instead of the java pre build class. I was referring below documentation and it says that

The @java:Method annotation instructs the jBallerina compiler to link to the doSomethingInJava static method in the a.b.c.Foo Java class. 

https://ballerina.io/learn/ballerina-ffi/
But this doesn't mention where I need to put my own Java implementation (a.b.c.Foo java class) to have bindings. It would be helpful if it could be mentioned within the documentation.

Related website/documentation area

Add/Uncomment the relevant area label out of the following.

Area/LearnPages

Describe the problem(s)

A detailed description of the purpose of this improvement.

@lnash94 lnash94 added the Type/Improvement Improvements required on the website. label Feb 21, 2024
@anupama-pathirage
Copy link
Contributor

@HindujaB / @warunalakshitha Any update on this, Please check and fix it asap.

@anupama-pathirage anupama-pathirage added the Category/Content All written content related issues (Technical content, english language etc) label Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category/Content All written content related issues (Technical content, english language etc) Type/Improvement Improvements required on the website.
Projects
None yet
Development

No branches or pull requests

3 participants