Skip to main content

[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,

We have a fix for this, which I will contribute to tomorrow's rebuild. This
means that if you switch compilers after tomorrow's build, you should
consider the compiler from the JDTCore you will just have built.

Philippe


----- Forwarded by Philippe P Mulet/France/IBM on 09/23/2003 11:53 PM -----
                                                                                                                                                    
                      Philippe P                                                                                                                    
                      Mulet/France/IBM@I        To:       eclipse-dev@xxxxxxxxxxx                                                                   
                      BMFR                      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 11:04                                                                                                              
                      PM                                                                                                                            
                      Please respond to                                                                                                             
                      eclipse-dev                                                                                                                   
                                                                                                                                                    
                                                                                                                                                    





Sonia,

Please put the compiler switching on hold until we resolve bug
https://bugs.eclipse.org/bugs/show_bug.cgi?id=42692,
which I suspect is a side effect of the fix you are looking for.

Philippe.




                      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 06:01

                      PM

                      Please respond to

                      eclipse-dev








Thanks, will incorporate the fixed compiler into our builder after
tomorrow's rebuild.

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 09:45 AM
   Please respond to
   eclipse-dev







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





_______________________________________________
eclipse-dev mailing list
eclipse-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/eclipse-dev





_______________________________________________
eclipse-dev mailing list
eclipse-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/eclipse-dev






Back to the top