Bugs

andrei.eremeev andrei.eremeev at oracle.com
Mon Mar 30 15:41:24 UTC 2015


Hi REPL team,

The following declaration fails with compilation error if there is no 
space between "I" and "{". See 
SimpleRegressionTest#testNoSpaceBetweenIAndBrace

-> interface I { void f(); }
|  Added interface I

-> class C implements I{ public void f() {}}
|  Error:
|  f() in C cannot implement f() in I
|    attempting to assign weaker access privileges; was public
|  class C implements I{ public void f() {}}
|                               ^---------^


Andrei Eremeev


More information about the kulla-dev mailing list