Skip to content

Java 8 Incompatibility with OCI Java SDK 2.81.0 #665

@JoshuaWR

Description

@JoshuaWR

The SDK team has found an incompatibility between Java 8 and the OCI Java SDK version 2.81.0.

The issue concerns the method buffer.flip(), which differs between Java 8 and Java 11 (which Java SDK 2.x is now built with). Customers using version 2.81.0 of the SDK may encounter the following error when running with Java 8:

java.lang.NoSuchMethodError: java.nio.ByteBuffer.flip()Ljava/nio/ByteBuffer;`

This incompatibility has been fixed in version 2.82.0: version 2.82.0 is compatible with Java 8 again.

If you are using Java 8, please do not use version 2.81.0, and use version 2.82.0 or newer instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    SDKIssue pertains to the SDK itself and not specific to any service

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions