Community
Participate
Working Groups
A method entry breakpoint for sun.net.www.protocol.http.HttpURLConnection.HttpInputStream.close() of lib/jrt-fs.jar is not hit. When I replace it with a breakpoint on the first line of its body, it works. I don't get any warning about not being able to install that breakpoint. No entry in the "Error Log" view either. I think I had the same problem with other methods from time to time, but don't remember which ones. Here's a test program to get there: import java.net.HttpURLConnection; import java.net.URL; import java.net.URLConnection; public class ForHttpInputStreamBreakpointTest { public static void main(String[] args) throws Exception { URLConnection conn = new URL("http://www.eclipse.org").openConnection(); conn.getContent(); ((HttpURLConnection) conn).disconnect(); } } Eclipse version: Eclipse IDE for Java Developers / Version: 2019-12 (4.14.0) / Build id: 20191212-1212 Java version (used to run both Eclipse and the test program): openjdk version "11.0.2" 2019-01-15 LTS OpenJDK Runtime Environment Zulu11.29+11-CA (build 11.0.2+9-LTS) OpenJDK 64-Bit Server VM Zulu11.29+11-CA (build 11.0.2+9-LTS, mixed mode)
I can reproduce this. Mostly because it is part of an inner class.
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.
Still relevant. Reproduced with Eclipse IDE for Enterprise Java and Web Developers Version: 2021-12 (4.22.0) Build id: 20211202-1639 openjdk version "11.0.13" 2021-10-19 LTS OpenJDK Runtime Environment Zulu11.52+13-CA (build 11.0.13+8-LTS) OpenJDK 64-Bit Server VM Zulu11.52+13-CA (build 11.0.13+8-LTS, mixed mode)
Anyone can look at fixing this?