Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipse-dev] Compile errors in today's 2.0.2 stream build

We have a fix from the UI team, a rebuild will start a 2:50 pm EDT.



                                                                                                                                        
                      "Martin                                                                                                           
                      Aeschlimann"              To:       eclipse-dev@xxxxxxxxxxx                                                       
                      <Martin_Aeschliman        cc:                                                                                     
                      n@xxxxxxx>                Subject:  Re: [eclipse-dev] Compile errors in today's 2.0.2 stream build                
                      Sent by:                                                                                                          
                      eclipse-dev-admin@                                                                                                
                      eclipse.org                                                                                                       
                                                                                                                                        
                                                                                                                                        
                      10/09/2002 01:57                                                                                                  
                      PM                                                                                                                
                      Please respond to                                                                                                 
                      eclipse-dev                                                                                                       
                                                                                                                                        
                                                                                                                                        





We tracked the problem down to a nifty compiler issue:

In plugin org.eclipse.jdt.ui.tests:

   class TestWorkbench extends Workbench {
   ....
   }

In plugin org eclipse.ui:

   class Workbench {
    ....
     private VersionedIdentifier[] collectFeatures() {
     ...
     }
   ....
   }

Class VersionedIdentifier is located in plugin 'org.eclipse.update.core'.

'org.eclipse.jdt.ui.tests' prereqs 'org eclipse.ui' but not
'org.eclipse.update.core': Its a 'Workbench'-internal that
VersionedIdentifier is used.
However the compiler asks that all types in a superclasses signature must
also be visible when compiling the subclass. Kent assured us that this is
the right compiler behavior.

As the method VersionedIdentifier[] collectFeatures() has been introduced
just recently for 2.0.2, that's why this didn't show up before.

Two choices to get it compiling again:
a.) All the plugins that contain a class that extends Workbench have to add
org.eclipse.update.core as a prereq.
     -> 4 - 5 plugins are concerned
b.)  We change Workbench' so that 'VersionedIdentifier' doesn't show up in
the signature

b.) seems to be the more secure approach for now as we don't know if there
are other client plugins that extend Workbench but do not prereq
'org.eclipse.update.core'.
Other ideas?

Martin




                      "Sonia Dimitrov"

                      <Sonia_Dimitrov@ot         To:
eclipse-dev@xxxxxxxxxxx

                      i.com>                     cc:

                      Sent by:                   Subject: [eclipse-dev]
Compile errors in today's 2.0.2 stream build
                      eclipse-dev-admin@

                      eclipse.org



                      10/09/2002 05:20

                      PM

                      Please respond to

                      eclipse-dev







Looks like the file extensions of my previous attachments caused alarm with
some virus scanners.  Here are the logs in a more familiar format:

(See attached file: logs.zip)

My apologies for any inconvenience.

Sonia

----- Forwarded by Sonia Dimitrov/OTT/OTI on 10/09/2002 11:15 AM -----

                      "Sonia Dimitrov"
                      <Sonia_Dimitrov@ot        To:
                      eclipse-dev@xxxxxxxxxxx
                      i.com>                    cc:
                      Sent by:                  Subject:  [eclipse-dev]
                      Compile errors in today's 2.0.2 stream build
                      eclipse-dev-admin@
                      eclipse.org


                      10/09/2002 10:39
                      AM
                      Please respond to
                      eclipse-dev






(See attached file: cvstests.jar.bin.log)(See attached file:
javadebugtests.jar.bin.log)(See attached file: javauitests.jar.bin.log)

Contributors, please advise.

Sonia

----- Forwarded by Sonia Dimitrov/OTT/OTI on 10/09/2002 10:36 AM -----

                      sonia_dimitrov@ot

                      i.com                    To:
sonia_dimitrov@xxxxxxx, dean_roberts@xxxxxxx,
                                               cc:

                      10/09/2002 10:24         Subject:  [eclipse-builder]
Compile errors in build M20021009
                      AM







/builds/202/src/plugins/org.eclipse.jdt.debug.tests/temp.folder/javadebugtests.jar.bin.log




/builds/202/src/plugins/org.eclipse.jdt.ui.tests/temp.folder/javauitests.jar.bin.log




/builds/202/src/plugins/org.eclipse.team.tests.cvs.core/temp.folder/cvstests.jar.bin.log






(See attached file: cvstests.jar.bin.log)(See attached file:
javadebugtests.jar.bin.log)(See attached file: javauitests.jar.bin.log)








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






Back to the top