This repository contains Java-related demonstrations typically discussed in greater detail on the "Inspired by Actual Events" blog (http://marxsoftware.blogspot.com/). These are miscellaneous demonstrations of using Java in different contexts. These demonstrations are not intended to be used as-is with their intended purpose being demonstration rather than direct utility. Therefore, these examples are not necessarily designed or tested for production use.
Here are the blog posts associated with these demonstrative examples:
- Better Default NullPointerException Messages Coming to Java? - 23 March 2019
- Compact Number Formatting Comes to JDK 12 - 26 December 2018
- JDK 12's Files.mismatch Method - 16 November 2018
- JDK 12 Switch Expression Encountering Unanticipated Enum Value - 11 September 2018
- Using Google's Protocol Buffers with Java - 16 January 2018
- Too Many PreparedStatement Placeholders in Oracle JDBC - 24 November 2017
- Simple String Representation of Java Decimal Numbers without Scientific Notation - 20 November 2017
- Default HotSpot Maximum Direct Memory Size - 22 February 2016
- This example uses internal APIs (
jdk.internal.misc.VM
andjdk.internal.SharedSecrets
) - use at own risk! --add-exports=java.base/jdk.internal.misc=ALL-UNNAMED
- This example uses internal APIs (
See the customannotations repository for some custom Java annotations examples that demonstrate authoring custom Java annotations.