dan1st
dan1st
I think the following should definitely be addressed: - How does one find the classes/methods to hook into? - What is a fingerprint? - What can a fingerprint check for?...
Those are different alogithms. See [this Math SE post](https://math.stackexchange.com/q/879956/831301) for example
By the way, ```java if(connection instanceof HttpsURLConnection){ con = (HttpsURLConnection) connection; }else{ con = (HttpURLConnection) connection; } ``` cab be simplified to `con = (HttpURLConnection) connection;` as `HttpsURLConnection` extends `HttpsURLConnection`.
You can just cast to `HttpURLConnection`, even if it is a `HttpsURLConnection`. You therefore don't need the `if`. If you cast a `HttpUrlConnection` to a `HttpsURLConnection`, it will not work.
I don't know about that but it might be a good idea to add something using `HttpClient` (`java.net.http`) as well.
I have created a PR for this. I hope it is useful.
I think the biggest issue for that might be where it is supposed to get information about the available objects from. What might work is to first require a hint...
I want to note that PGO on native-image is [not available in GraalVM CE](https://www.graalvm.org/latest/reference-manual/native-image/guides/optimize-native-executable-with-pgo/).
@jpdev01 As far as I know, this is not managed by Adoptium/the Eclipse Foundation. It might be best to create an issue or PR in https://github.com/actions/setup-java
The update site `http://borisvl.github.io/Pdf4Eclipse` should work.