Community
Participate
Working Groups
Build ID: Build id: M20080221-1800 Steps To Reproduce: More information: Hi, we are translating JDT runtime, our translator has some questions, would appreciate if someone could help answer them - 1. please be so kind and explain what/who is super in the segment below: HEAD\runtimes\plugins\nl\com.ibm.eclipse.jdt.core\org\eclipse\jdt\internal\compiler\problem\messages.properties (659) The method {0} is overriding a method without making a super invocation Please explain what is made with this 'super invocation' 2. please explain what is going in the sentence below: HEAD\runtimes\plugins\nl\com.ibm.eclipse.jdt.debug\jdimodel_jar\org\eclipse\jdi\internal\JDIMessages.properties (190) Improper instance counts between VM and client. Is it about counting mechanism of improper instances?
Sorry, the plugin name should be org.eclipse.jdt.core and org.eclipse.jdt.debug
> 2. please explain what is going in the sentence below: > HEAD\runtimes\plugins\nl\com.ibm.eclipse.jdt.debug\jdimodel_jar\org\eclipse\jdi\internal\JDIMessages.properties > (190) > Improper instance counts between VM and client. > Is it about counting mechanism of improper instances? This is an unexpected internal error. The Java debugger has asked for the number of instances of a list of N specific class names, but the backend (VM) has returned a set X of instances, where X != N. We should really update the message to something like "Requested {N} instance counts but received {X} instance counts." Moving to JCORE for comment on first message.
Thank you for your quick response!
Another one for jdt.core 3. org.eclipse.jdt.core\org\eclipse\jdt\internal\compiler\problem\messages.properties (698) please confirm that null comparison in the sentence below Null comparison always yields false: The variable {0} cannot be null at this location is actually a compare procedure that check whether a value is null.
>1. please be so kind and explain what/who is super in the segment below: > HEAD\runtimes\plugins\nl\com.ibm.eclipse.jdt.core\org\eclipse\jdt\internal\compiler\problem\messages.properties > (659) > The method {0} is overriding a method without making a super invocation > Please explain what is made with this 'super invocation' In Java, super invocation refers to invoking a method from a superclass. You can redefine (override) a method in a subtype, and normally a good programming style for the overriding method would be to invoke the method from the super class somehow. 3.org.eclipse.jdt.core\org\eclipse\jdt\internal\compiler\problem\messages.properties >(698) > please confirm that null comparison in the sentence below > Null comparison always yields false: The variable {0} cannot be null at this location > is actually a compare procedure that check whether a value is null. Yes this is correct.
Thank you!
Close the bug
Resolving as INVALID because this is rather a question than a bug, and we try not to use FIXED, WORKSFORME or WONTFIX in such cases - the question is legitimate and please see no offense in the INVALID keyword.