About Question enthuware.ocajp.i.v7.2.1052 :

All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.

Moderators: Site Manager, fjwalraven

Post Reply
ETS User

About Question enthuware.ocajp.i.v7.2.1052 :

Post by ETS User »

Maybe the explaination of the solution is errata..

The jvm shouldn't report any error given the following method definitions:

String m1(int... i){}
String m1(int[] i){}

The decompilation of the given class doesn't yelds the same method signatures, and results in the same signatures.
At runtime the methods seems to behave like overloaded method

Feel free to correct my remarks

Best regards

Guest

Re: About Question enthuware.ocajp.i.v7.2.1052 :

Post by Guest »

Sorry for the previous post, the explaination is correct. I got mixed up.

Best regards

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests