[
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
|
I would recommend using JDT Core as of 20030917. There was no further
compiler fix since that point.
Sonia
Dimitrov/Ottawa/IB To: eclipse-dev@xxxxxxxxxxx
M@IBMCA cc:
Sent by: Subject: Re: [eclipse-dev] [eclipse-build]Build N20030923 (Timestamp: 200309230010):Compile
eclipse-dev-admin@ errors in build
eclipse.org
09/23/2003 03:29
PM
Please respond to
eclipse-dev
Releng uses the JDT compiler from 3.0 M3. We update the plug-ins we use in
our builder with each milestone unless there are critical fixes we need to
incorporate beforehand - it seems this is the case here. Philippe, from
which build do you recommend I take JDT Core with this fix?
Sonia
"Philippe P Mulet"
<philippe_mulet@xxxxxx. To: eclipse-dev@xxxxxxxxxxx
com> cc:
Sent by: Subject: Re: [eclipse-dev]
eclipse-dev-admin@eclip [eclipse-build]Build N20030923 (Timestamp:
se.org 200309230010):Compile errors in build
09/23/2003 06:26 AM
Please respond to
eclipse-dev
This compiler bug is referenced as bug
https://bugs.eclipse.org/bugs/show_bug.cgi?id=40736 JDT compiler fails to
compile legitimate Java code.
It was addressed earlier in 3.0M4. Releng is likely using previous
milestone compiler version, thus explaining why this issue occurred.
In order to disable a test, you may simply rename it into _testMethod, with
a TODO next to it. This is how we exclude them in JDTCore.
Markus
Keller/Zurich/IBM@ To:
eclipse-dev@xxxxxxxxxxx
IBMCH cc:
Sent by: Subject: Re: [eclipse-dev]
[eclipse-build]Build N20030923 (Timestamp: 200309230010):Compile
eclipse-dev-admin@ errors in build
eclipse.org
09/23/2003 10:15
AM
Please respond to
eclipse-dev
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.
####
/builds/nightly/src/N-N20030923-200309230010/compilelogs/plugins/org.eclipse.jdt.ui.tests.refactoring_3.0.0/refactoringtests.jar.bin.log
has been removed from this note on September 23, 2003 by Philippe P Mulet
_______________________________________________
eclipse-dev mailing list
eclipse-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/eclipse-dev