You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public classfile_2 {
public static void foo() {
Const c =newConst();
c.x =2;
}
}
Running:
test/partest --show-log test/files/neg/
gives:
Testing individual files
test/files/neg/myBug/file_2.java:4:error: x has private access in Const
c.x =2;
^1 error
testing: [...]/files/neg/myBug [ OK ]
All of 1 tests were successful (elapsed time: 00:00:02)
although there is no check file with the produced output.
Also, there are no compilation errors being printed out for run tests.