hg: kulla/dev/langtools: Clarify input language in regards to modifiers:

robert.field at oracle.com robert.field at oracle.com
Fri Jan 30 20:11:05 UTC 2015


Changeset: f4e28eef9461
Author:    rfield
Date:      2015-01-30 12:10 -0800
URL:       http://hg.openjdk.java.net/kulla/dev/langtools/rev/f4e28eef9461

Clarify input language in regards to modifiers:
     * The modifiers public, protected, private, static, and final are not allowed on
       top-level declarations and are ignored.
     * The modifiers synchronized, abstract, and default are not allowed on
       top-level declarations and are errors.
Match implementation to spec, UNKNOWN status isComplete.  This fixes some no output in tool errors.
End position on UNKNOWN is always whole input.
Steps towards addressing synchronized modifier.
Fix bug that was removing ignored modifiers too deeply, e.g. interface A {static void x() {}}
Updated ClassesTest per modifiers.
Updated TODO.
Added Eremeev reported errors (that were not fixed by this commit) to TODO.

! repl/TODO
! repl/src/api/EvaluationState.java
! repl/src/api/SourceCodeAnalysis.java
! repl/src/impl/CompletenessAnalyzer.java
! repl/src/impl/MaskCommentsAndModifiers.java
! repl/testng/test/ClassesTest.java
! repl/testng/test/ExceptionsTest.java
! repl/testng/test/KullaTesting.java
! repl/testng/test/SimpleRegressionTest.java



More information about the kulla-dev mailing list