Skip to content

Not all library aliases tested #406

@operutka

Description

@operutka

Hi,
I found this issue inside the BridJ.findNativeLibraryFile() method. Following code prevents iteration over all elements inside the possibleNames list:

            try {
                File f;
                if (isAndroid())
                    f = new File("lib" + name + ".so");
                else
                    f = extractEmbeddedLibraryResource(name);

                if (f == null || !f.isFile())
                    throw new FileNotFoundException(StringUtils.implode(possibleNames, ", "));

                return f;
            } catch (IOException ex) {
                throw new RuntimeException(ex);
            }

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions