hg: kulla/dev/langtools: Fix three CompletenessAnalyzer bugs found by Eremeev:
robert.field at oracle.com
robert.field at oracle.com
Tue Feb 3 06:05:22 UTC 2015
Changeset: 4345d7f30552
Author: rfield
Date: 2015-02-02 22:05 -0800
URL: http://hg.openjdk.java.net/kulla/dev/langtools/rev/4345d7f30552
Fix three CompletenessAnalyzer bugs found by Eremeev:
- assert true // Expected COMPLETE_WITH_SEMI, got COMPLETE.
- for(Object o : a) a; // expected [COMPLETE] but found [UNKNOWN]
- int path[], status: expected [COMPLETE_WITH_SEMI], but found [DEFINITELY_INCOMPLETE]
Fix variable declaration reconstruction in the case of array brackets trailing the identifier.
Added corresponding regression tests.
! repl/TODO
! repl/src/impl/CompletenessAnalyzer.java
! repl/src/impl/EvaluationStateImpl.java
! repl/src/impl/Wrap.java
! repl/testng/test/CompletenessTest.java
! repl/testng/test/KullaTesting.java
! repl/testng/test/VariablesTest.java
More information about the kulla-dev
mailing list