[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [eclipse-dev] [eclipse-build]Build N20030923 (Timestamp: 200309230010):Compile errors in build
|
Sonia, what compiler is used for nightly builds? And with what compiler
flags?
The compiler seems to misinterpret the JLS section about unreachable code
in 'if'-statements.
We will temporarily fix the issue for the upcoming I-build.
Thanks,
Markus
P.S. here's the offending code:
public class ChangeSignatureTests {
//...
private static final boolean RUN_CONSTRUCTOR_TEST = true;
//...
public void testAll47()throws Exception{
if (true) {
printTestDisabledMessage("disabled: see PR:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=43444");
return;
}
if (! RUN_CONSTRUCTOR_TEST){
printTestDisabledMessage("disabled for
constructors for now");
return;
}
String[] signature= {}; //unreachable, but *not* by
definition in JLS-2.0
//...
}
//...
public void printTestDisabledMessage(String s) {
System.out.println(s);
}
}
sonia_dimitrov@xxxxxxxxxx
Sent by: eclipse-dev-admin@xxxxxxxxxxx
2003-09-23 07:45
Please respond to
eclipse-dev@xxxxxxxxxxx
To
eclipse-dev@xxxxxxxxxxx
cc
Subject
[eclipse-dev] [eclipse-build]Build N20030923 (Timestamp:
200309230010):Compile errors in build
Build N20030923 (Timestamp: 200309230010): Compile errors in build. See
attached compile logs.
Attachment:
/builds/nightly/src/N-N20030923-200309230010/compilelogs/plugins/org.eclipse.jdt.ui.tests.refactoring_3.0.0/refactoringtests.jar.bin.log
Description: Binary data