Why do we need this? isDeprecated is never used anywhere that I know of.
|
this.deprecated = PGProperty.class.getField(name()).getAnnotation(Deprecated.class) != null; |
Because PGProperty.class.getField(name()) is incompatible with graalvm's reflection abilities this causes the driver to fail in nativeCompilation mode.
Why do we need this? isDeprecated is never used anywhere that I know of.
pgjdbc/pgjdbc/src/main/java/org/postgresql/PGProperty.java
Line 772 in 3d14ea4
Because
PGProperty.class.getField(name())is incompatible with graalvm's reflection abilities this causes the driver to fail in nativeCompilation mode.