The method pointing to ArrayList.size () is a method of the ArrayList class for jdk.
First: the source was not found, this is not an error. The source was not found when you are in debug mode, and when debugging, you enter some class whose .java file is not in the class path. This message simply means that the part of the code you are trying to undo is not available for this, and therefore the debugger cannot display the highlighted line, etc. Now, to fix this, I mean the ability to see this method in your debugger, download the source code for jdk (the same version you are currently using), and when you see a screen not found by the source, there is an atrach source button . select this and select the source code file that you downloaded and click ok. and the tge screen refreshes with the highlighted class line.
source share