From: | Chapman Flack <chap(at)anastigmatix(dot)net> |
---|---|
To: | Kartik Ohri <kartikohri13(at)gmail(dot)com> |
Cc: | pljava-dev(at)lists(dot)postgresql(dot)org |
Subject: | Re: PL/Java new build plugin |
Date: | 2020-07-15 16:24:02 |
Message-ID: | 5F0F2DA2.5090603@anastigmatix.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pljava-dev |
On 07/14/20 19:02, Chapman Flack wrote:
> then on Java 9 there is
> still one JNI reference warning, but that's being treated as a failure.
> ...
> looks a little trickier, as you're probably checking for
> warning output from install_jar(...examples...), which really does
> indicate trouble, but the WARNING: JNI local refs: does not.
Looking a little more closely...
psql : INFO: WARNING: JNI local refs: 40, exceeds capacity: 39
It is coming out INFO: WARNING: ...
The WARNING: is part of the message from Xcheck:jni, but it's being
deliberately passed to PostgreSQL's ereport at level INFO [1].
So, probably, by being careful enough to use the first INFO/WARNING tag
to distinguish the cases, we could avoid having that look
like a failure.
Regards,
-Chap
[1]
https://github.com/tada/pljava/blob/6f63568/pljava-so/src/main/c/Backend.c#L1092
From | Date | Subject | |
---|---|---|---|
Next Message | Kartik Ohri | 2020-07-18 12:43:45 | Re: PL/Java new build plugin |
Previous Message | Chapman Flack | 2020-07-15 12:24:58 | Re: PL/Java new build plugin |