I'd call this glorified googling. Which, to be fair, fits the vague "figure out" from my not-so-serious original post. And is a useful skill, googling is what I do for a lot of my sleuthing.
IDK, maybe I'm being naïve, but I expected more for how disruptive AI is being to our industry. Google Gemini thinks it's a thread safety issue, didn't say anything about 32-bit int. Neither offered patch files for an open source XML parser that should be in their training data.
To drive home the point, if my idiot subordinate, who can't be trusted with even the simplest of script work, was to handle this problem instead of me, he would input "xerces NullPointerException". The AI would have to tell him:
- How to find the Xerces version in the .class file.
- Concise and easy to reproduce test cases for a multitude of Xerces versions.
- .patch files and how to apply them, again for a multitude of Xerces versions.
- A version of Xerces that is known to fix various NullPointerException errors. I would not expect it to hold his hand on implementing the upgrade because it would need information specific to our environment.
- Mitigations if changing Xerces is not viable. Which, to be fair, it did offer some. But they were incredibly generic and would be useless in my subordinate's hands.
Yes, I'm being obtuse with the prompt, purposefully so. All of us in this thread know that prompt is missing useful context. The people that the industry seeks to replace us with do not.