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

IDE don't save Java compiler preferences after stop workspace #935

Closed
ddementieva opened this issue Mar 30, 2016 · 0 comments
Closed

IDE don't save Java compiler preferences after stop workspace #935

ddementieva opened this issue Mar 30, 2016 · 0 comments
Labels
kind/bug Outline of a bug - must adhere to the bug report template.

Comments

@ddementieva
Copy link
Contributor

Steps to reproduce:

  1. Go to: Profile -> Preferences -> Java Compiler
  2. Set value "error" for properties: "Value of local variable is not used": .
  3. Click "Save" button.
  4. Create new project from Spring sample.
  5. Open project and wait until IDE resolves dependensies.
  6. Open GreetingController class from created project.
  7. Add code "int l = 0;" to the method "handleRequest";
    IDE should create error marker for added code line.
  8. Go to machine perspective.
  9. Select Machine -> stop
  10. Refresh page with IDE. Wait until ide will be initialized.
  11. Open Spring project.
  12. Open GreetingController class.
    Actual result: line with code "int l = 0;" contains warning marker, because IDE didn't store java compiler preference and got default preferences.
    Expected result: line with code "int l = 0;" sholud contains error marker
@ddementieva ddementieva added the kind/bug Outline of a bug - must adhere to the bug report template. label Mar 30, 2016
@ghost ghost closed this as completed Mar 30, 2016
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Outline of a bug - must adhere to the bug report template.
Projects
None yet
Development

No branches or pull requests

1 participant