Re: HttpClient has no explicit way of releasing threads

2022-05-10 Thread Cay Horstmann
Il 10/05/2022 15:39, Remi Forax ha scritto: You can change the Executor (it's one parameter of the builder) to use whatever executors you want so you can shutdown that executor as you want. This should fixed (1). Also once you update to Java 19/21, it seems a good scenario to test the executor

How can I trigger a @Serial warning?

2021-09-08 Thread Cay Horstmann
I am trying to give an example of the utility of the @Serial annotation. But the JDK 17 javac doesn't seem to do anything with it. I tried: @Serial private void readObject(java.io.ObjectInputStream stream, int shouldNotHaveThisParam) throws IOException, ClassNotFoundException @Serial private s

Re: MatchResult support for named groups

2020-12-04 Thread Cay Horstmann
namely: 1. whether there was a match at all 2. hitEnd 3. requireEnd If you have any thoughts on these, please let me know. s'marks On 12/2/20 2:53 AM, Cay Horstmann wrote: Hello, I'd like to raise awareness for https://bugs.openjdk.java.net/browse/JDK-8180352 https://bugs.openjdk.jav

MatchResult support for named groups

2020-12-02 Thread Cay Horstmann
Hello, I'd like to raise awareness for https://bugs.openjdk.java.net/browse/JDK-8180352 https://bugs.openjdk.java.net/browse/JDK-8072984 https://bugs.openjdk.java.net/browse/JDK-8065554 These all ask for MatchResult.group(String name). What they don't mention is that this is more urgent in ligh