Community
Participate
Working Groups
Created attachment 253401 [details] The annotation @org.eclipse.jdt.annotation.Nullable is missing in Arabic Build ID: I20150429-2000 JDK: IBM jdk8 Steps to reproduce: 1. Launch Eclipse in Arabic 2. Create a Java Project 3. Create a class (eg.TestExternalAnnotations), the code as below: import java.util.Map; import org.eclipse.jdt.annotation.NonNull; public class TestExternalAnnotations { int test(@NonNull Map<String, Integer> map){ return map.get("hello"); } } 4. Click Windows -> Preferences 5. Click Java -> Compiler -> Errors/Warnings 6. Check the option " Enable annotation-based null analysis" under Null Analysis 7. Click Window -> Preferences 8. Expand Java -> Installed JREs 9. Select the installed JRE (java 1.8) and Click Edit 10. Select the "External annotations:(none)" under rt.jar and Click External annotations button 11. Click Browse... and click Create New Folder to create a folder with GVT test data 12. Select you just created folder under your project and click OK 13. Click OK on External Annotations Location Selection, click Finish on Edit JRE panel, click OK on preferences panel 14. Press Ctrl and click get to open Declaration(Please attach the soure code which you could find on the java installation path to the project firstly ) 15. Select any type in the signature of a library method or field, and invoke Annotate - either using the context menu, or by pressing Ctrl+1. Proposals will be offered for marking the selected type as @Nullable 16. Hover get Problem Description: The @org.eclipse.jdt.annotation.Nullable is missing in Arabic and Hebrew. Please help investigate. Thanks.
For RC1 we at least need to know why it fails.
I briefly mentioned this in bug 403917 comment 22: > In BiDi environments we fall back to the old labels, simply because I only > implemented the linking variant. This is somewhat in line with how the > existing implementation also falls back to a simpler version when BiDi > processing is required. See methods getElementLabel() and getBindingLabel() in JavaElementLinks. There seems to be history around bug 306752 and bug 306753. I'll be happy to help improving this post 4.5.0. I'm not sure about the direction, though: - improve all linked labels to work well in BiDi environments? Or: - create a link-less variant of the new binding labels.
Ran out of time for 4.7. Bulk move to 4.8.
not sure what should be done, exactly.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.