Blog: Gerard Davison

240 blogs updated: 0 min. ago
In JDK 9 (and well 8) and above everything can be a stream.
In JDK 8 we finally got to use streams and everything was good apart from the times when the API you used couldn't produce a stream. Then yo...
30-11-2018 22:04:28 Gerard Davison Advanced
await in turn by mistake
I really enjoy working with the new async functions but it is really easy to set up a situation where code that could be running in parallel...
27-11-2018 18:41:37 Gerard Davison Advanced
Understanding ordering with JavaScript async methods
So I challenged someone in a code review to prove that there code that made use of async functions wouldn't be susceptible to a race conditi...
05-10-2018 15:04:31 Gerard Davison Advanced
Trusting a self signed certificate in Oracle Visual Builder Cloud
When you are setting up a development environment you sometimes need to use self signed certificates or a separate developer CA, in order to...
08-08-2018 20:15:49 Gerard Davison Advanced
Quick Debugger Tip, where was that class loaded from.
Often when it is Friday afternoon and you want to go home early you come across an intractable class loading issue. You might grep your appl...
31-01-2018 11:45:17 Gerard Davison Advanced
Interpreting wpad.dat using jrunscript from JDK 8 to work out the right proxy.
In many environments you find that the correct proxy can only be fetched by parsing , which is a pain because it is actually a JavaScript fi...
15-06-2017 13:16:45 Gerard Davison Advanced
The "debugger" reserved word in JavaScript
This is a handy little tip for cases where you just can't get your debugger to start in the right context or the framework you are using doe...
14-03-2017 17:10:58 Gerard Davison Advanced
What is bound to generic types for method references in java 8, types and exceptions
So most of the time you are probably aware of method references that either reference instance of static methods directly, and they are usef...
15-08-2016 17:41:44 Gerard Davison Advanced
Getting a name for someone to connect back to your server.
When doing test automation it is often the case you need to know the name of the current machine in order to prompt another machine to conne...
02-06-2016 17:38:27 Gerard Davison Advanced
Converting string configuration properties to other types, with a bit of Optional.
Somedays you come across some code and think that's pretty, why didn't I think of that? So my long time colleague Mark Warner has a nice twi...
07-04-2016 18:23:10 Gerard Davison Advanced

© Jiri Pinkas | this project on GitHub | related: JavaVids | Maven Central Repository Search | Java školení

Top Java Blogs is a Java blog aggregator (with English-written blogs only) focused on Java SE, Java EE, Spring Framework and Hibernate.

Made better & faster using Java Profiler