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

Suppressed unchecked exceptions highlighted in IntelliJ for 3rd party dependencies #74

Closed
elshimone opened this issue May 5, 2019 · 4 comments

Comments

Projects
None yet
4 participants
@elshimone
Copy link

commented May 5, 2019

Describe the bug
I think there may be a minor issue with the IntelliJ plugin still reporting unchecked exception errors for third party dependencies. The project still builds as expected, the issue is limited to the IntelliJ plugin support.

To Reproduce
Steps to reproduce the behavior:
Modify the UserClient class in the Manifold REST API (https://github.com/manifold-systems/manifold-sample-rest-api) project to:

public class UserClient {
  public static void main(String[] args) {

    // suppressed
    new Dummy().exception();

    // suppressed
    new URL("http://manifold.systems");

    XmlParser pa = new XmlParser();
    // Displays error for unhandled exceptions IOException, SAXException
    pa.parse("<xml/>");
  }
}
class Dummy {
  void exception() throws IOException {
    throw new IOException("yikes");
  }
}

Expected behavior
I would expect the errors to be supressed in all cases.

Screenshots
image

Desktop (please complete the following information):

  • OS Type & Version: Mac OSX 10.13.6 (17G6030)
  • Java/JDK version: Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode)
  • IntelliJ IDEA version: IntelliJ IDEA 2019.1.1 (Community Edition) Build #IC-191.6707.61, built on April 16, 2019
  • Manifold version: 0.63-alpha
  • Manifold IntelliJ plugin version: 0.63-alpha

Additional context
None

Stack trace
None

@RaviH

This comment has been minimized.

Copy link

commented May 7, 2019

+1

1 similar comment
@wedsa5

This comment has been minimized.

Copy link

commented May 7, 2019

+1

@rsmckinney

This comment has been minimized.

Copy link
Member

commented May 8, 2019

In progress

@rsmckinney

This comment has been minimized.

Copy link
Member

commented May 8, 2019

Fix available in release 0.65-alpha

@rsmckinney rsmckinney closed this May 8, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.