Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jdt-ui-dev] jdt.ui needs jdt.core >= v_532b <EOM>


jdt.ui needs jdt.core >= v_532b.

Markus



Jerome Lanneluc/France/IBM@IBMFR
Sent by: jdt-ui-dev-admin@xxxxxxxxxxx

2005-01-24 16:13

Please respond to
jdt-ui-dev@xxxxxxxxxxx

To
jdt-ui-dev@xxxxxxxxxxx
cc
Subject
Re: [jdt-ui-dev] Breaking API change for TypeParameter#resolveBinding()









The change is now released and org.eclipse.jdt.core has been tagged with
v_532b.

Jerome



                                                                         
            Markus                                                        
            Keller/Zurich/IBM                                            
            @IBMCH                                                     To
            Sent by:                  jdt-ui-dev@xxxxxxxxxxx              
            jdt-ui-dev-admin@                                          cc
            eclipse.org                                                  
                                                                  Subject
                                      Re: [jdt-ui-dev] Breaking API      
            01/24/2005 01:26          change for                          
            PM                        TypeParameter#resolveBinding()      
                                                                         
                                                                         
            Please respond to                                            
               jdt-ui-dev                                                
                                                                         
                                                                         





Jerome, could you please tag jdt.core when this change is released?

Our compiler settings flag unnecessary casts as error, and it would be
convenient if we could use a preview of jdt.core until we get the next
integration build.

Thanks,
Markus


                                                                         
Jerome                                                                    
Lanneluc/France/IBM@IBMFR                                                
Sent by:                                                               To
jdt-ui-dev-admin@xxxxxxxxxx              jdt-ui-dev@xxxxxxxxxxx          
g                                                                      cc
                                                                         
                                                                  Subject
2005-01-24 12:37                         [jdt-ui-dev] Breaking API change
                                         for                              
                                         TypeParameter#resolveBinding()  
     Please respond to                                                    
   jdt-ui-dev@xxxxxxxxxxx                                                
                                                                         
                                                                         
                                                                         
                                                                         
                                                                         









The JDT Core API TypeParameter#resolveBinding() currently returns an
IBinding. It should really return an ITypeBinding.
JDT Core plans on changing this 3.1 API to correctly return an
ITypeBinding.

In I20050118-1015, the only clients of this method are within JDT UI:
- ConvertAnonymousToNestedRefactoring.java (line 404)
- MoveInnerToTopRefactoring.java (line 322)
- MoveInstanceMethodProcessor.java (line 309)

The side effect on this client code will be an 'Unecessary cast' warning.

If you see any reason for not making this change, please speak up now.

Jerome

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


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


Back to the top