Skip to content

Document release that dropped compatibility with javac 8 #4654

Open
@cpovirk

Description

@cpovirk

In my testing with Caliper, I can build under JDK 8 with Dagger 2.50 but not with 2.51:

Caused by: java.lang.NoSuchMethodError: java.util.Optional.isEmpty()Z
    at dagger.internal.codegen.binding.BindingGraphFactory.shouldIncludeImplicitProductionModules (BindingGraphFactory.java:279)

Additionally, somewhere after 2.51 but by 2.56, I start seeing this failure even earlier:

Could not load processor class file due to 'dagger/spi/internal/shaded/androidx/room/compiler/processing/javac/JavacBasicAnnotationProcessor has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0'.

No one seems to have minded in the past year, so that's good news :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions