question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Retrolambda plugin 3.3.0 doesn't strip calls to addSuppressed when using try-with-resources

See original GitHub issue

lint produces a warning about this issue (and I’ve checked generated files as well - 3.2.5 ok, 3.3.0 broken)

classpath 'com.android.tools.build:gradle:2.2.0'
classpath 'me.tatarka:gradle-retrolambda:3.3.0'

    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }

minSdkVersion 15

3.2.5 with retrolamda 2.3.0 works ok, too

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:21 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
technoir42commented, Nov 25, 2016

@benj56 try placing lint.xml in the same folder as build.gradle.

1reaction
theverycommented, Sep 28, 2016

@zergtmn I get 2 lint warnings with clean lint.xml - for both try with resources and addSuppressed. Try updating your build tools.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Retrolambda Plugin Throws Error · Issue #14 - GitHub
It looks like the Retrolambda plugin doesn't work with any libraries that compile with Java 8, which is why you're running into the...
Read more >
Retrolambda 3.3 in Android Studio 2.1.3: error configuring ...
Error:A problem occurred configuring project ':app'. I use Facebook and Twitter (fabric) dependencies. I removed apply plugin: 'me.tatarka.
Read more >
Eva Tatarka android-retrolambda-lombok Issues - Giters
Eva Tatarka android-retrolambda-lombok: A modified version of lombok ast that ... Retrolambda plugin 3.3.0 doesn't strip calls to addSuppressed when using ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found