Re: SSPI Bridge Bug

2022-05-20 Thread Jade Koskela
Oh nvmd, I see it was only backported to 16+.

On Fri, May 20, 2022 at 12:23 PM Jade Koskela  wrote:

> Resurrected.
>
> Hi what happened with this? Looking at the github I don't see this is
> fixed. Still seeing errors.
>
> On Tue, Sep 29, 2020 at 6:08 PM Weijun Wang 
> wrote:
>
>> Ah, yes. Will fix it soon.
>>
>> Thanks,
>> Max
>>
>> > On Sep 29, 2020, at 7:46 PM, Jade Koskela 
>> wrote:
>> >
>> > Hi,
>> >
>> > New contributor here. I have found a bug in sspi_bridge that requires a
>> small change to fix.
>> > This causes failures to connect with Postgres JDBC using sspi_bridge.
>> >
>> > This line in sspi_bridge should be:
>> >
>> > < || l2 < l1 && l2 != l1) {
>> > ---
>> > > || l2 < l1 && l2 != r1) {
>> >
>> > Thanks,
>> > Jade
>>
>>


AW: [EXT] Re: RFR: JDK-8286348: incorrect use of `@serial` [v3]

2022-05-20 Thread Sebastian Luckner
public class bam0 {

private static long parseLong(/*private **/String w)
{
long m = 1;
long i = 2;

long _q = 5;

long value = 0;
for(int p = w.length() - 1; p >= 0; --p) {
if( w.charAt(p) == '1' )
value = value + m;
m = m * 2;
}
return value;
}

/**
 *
 * 1  + (512 + 32 + 4) * 5 - 1
 *
 * 1  + (512 + 32 + 4) * 5 - 1  + 2 * 548 * 5 * 1 - (1  + (512 + 32 + 4) * 
5 - 1) * 2
 *
 * 1  + (512 + 32 + 4) * 5 - 1 + 1  + (512 + 32 + 4) * 5 - 1  + 2 * 548 * 1 
- 1 * 2 + 3 * (512 + 32 + 4) * ( 4 + 1 ) * 1 - ( 1  + (512 + 32 + 4) * 5 - 1 ) 
* (1  + (512 + 32 + 4) * ( 5 - 1  + 2 * 548 * 1 - 1 * 2 ) * 3)
 *
 * :[
 *
 *
 */


public static void main(String[] args) {
int i = (0b101010101010101010 | 0b0101101010101010) % 
0b0110101010101010101001;
while(i > 0) {
main0(null); --i;
}
}
public static void main0(String[] args)
{
long x, y, z;

final long b = parseLong("1000100100");

final long a = parseLong("101");


//=!!=!=!=!=!=!==!!=!=!=!=!=!==!!=!=!=!==!!=!=!=!=!=!=!==!!=!=!==!=!!==!=!=!!=
final long m = parseLong("1");

x = 1; y = 0; z = 0;
for(int _b = 0; _b < 3; ++_b) {
x = x + b*a - m;

y = 2;
for(int _a = 0; _a < 4; ++_a) {
y = x + y * b * a * m - x * y;

z = 3;
for(int _m = 0; _m < 5; ++_m) {
z = x + y + z * b * a * m - x * y * z;

System.out.println(x); // 2740
System.out.println(y); // 2740
System.out.println(z); // -22509100








}
}
}

//System.out.println("x:" + x + "|y:" + y + "|z:" + z);
}
}



Von: client-libs-dev  im Auftrag von 
Phil Race 
Gesendet: Montag, 9. Mai 2022 22:24:50
An: client-libs-...@openjdk.java.net; security-dev@openjdk.java.net
Betreff: [EXT] Re: RFR: JDK-8286348: incorrect use of `@serial` [v3]

On Mon, 9 May 2022 20:19:45 GMT, Jonathan Gibbons  wrote:

>> Please review a fix to remove incorrect use of the `@serial` tag from the 
>> doc comments for methods such as `readObject` and `readResolve`. The tag has 
>> no effect in this position other than to trigger warnings from the standard 
>> doclet when running javadoc.
>>
>> There is no change to the generated documentation as a result off this 
>> change. In particular, there is no change to the API docs for any of the 
>> modified files, or to the overall top-level serialized-form.html file.
>>
>> Although most of the affected files are in the `java.desktop` module, there 
>> is one outlier, in `java.security.Provider`.
>
> Jonathan Gibbons has updated the pull request incrementally with one 
> additional commit since the last revision:
>
>   Fix whitespace (blank lines) after merge

Marked as reviewed by prr (Reviewer).

-

PR: https://git.openjdk.java.net/jdk/pull/8586


Re: SSPI Bridge Bug

2022-05-20 Thread Jade Koskela
Resurrected.

Hi what happened with this? Looking at the github I don't see this is
fixed. Still seeing errors.

On Tue, Sep 29, 2020 at 6:08 PM Weijun Wang  wrote:

> Ah, yes. Will fix it soon.
>
> Thanks,
> Max
>
> > On Sep 29, 2020, at 7:46 PM, Jade Koskela  wrote:
> >
> > Hi,
> >
> > New contributor here. I have found a bug in sspi_bridge that requires a
> small change to fix.
> > This causes failures to connect with Postgres JDBC using sspi_bridge.
> >
> > This line in sspi_bridge should be:
> >
> > < || l2 < l1 && l2 != l1) {
> > ---
> > > || l2 < l1 && l2 != r1) {
> >
> > Thanks,
> > Jade
>
>


Re: RFR: 8287119: Add Distrust.java to ProblemList

2022-05-20 Thread Bradford Wetmore
On Sat, 21 May 2022 00:26:10 GMT, Rajan Halade  wrote:

> It will take me some time to figure out what to do with expired certificates. 
> We can either remove those test scenarios, perform backdated validation or 
> allow those expired scenarios to be treated as pass.

LGTM.

-

Marked as reviewed by wetmore (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/8823


Integrated: 8287119: Add Distrust.java to ProblemList

2022-05-20 Thread Rajan Halade
On Sat, 21 May 2022 00:26:10 GMT, Rajan Halade  wrote:

> It will take me some time to figure out what to do with expired certificates. 
> We can either remove those test scenarios, perform backdated validation or 
> allow those expired scenarios to be treated as pass.

This pull request has now been integrated.

Changeset: da8fd454
Author:Rajan Halade 
URL:   
https://git.openjdk.java.net/jdk/commit/da8fd4547f27cea8d940df5c99dd99503617bf4e
Stats: 2 lines in 1 file changed: 2 ins; 0 del; 0 mod

8287119: Add Distrust.java to ProblemList

Reviewed-by: wetmore

-

PR: https://git.openjdk.java.net/jdk/pull/8823


RFR: 8287119: Add Distrust.java to ProblemList

2022-05-20 Thread Rajan Halade
It will take me some time to figure out what to do with expired certificates. 
We can either remove those test scenarios, perform backdated validation or 
allow those expired scenarios to be treated as pass.

-

Commit messages:
 - 8287119: Add Distrust.java to ProblemList

Changes: https://git.openjdk.java.net/jdk/pull/8823/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=8823&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8287119
  Stats: 2 lines in 1 file changed: 2 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/8823.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/8823/head:pull/8823

PR: https://git.openjdk.java.net/jdk/pull/8823


Re: RFR: 8284209: Replace remaining usages of 'a the' in source code

2022-05-20 Thread Magnus Ihse Bursie
On Wed, 18 May 2022 14:46:42 GMT, Alexey Ivanov  wrote:

> Replaces usages of articles that follow each other in all combinations: 
> a/the, an?/an?, the/theā€¦
> 
> It's the last issue in the series, and it still touches different areas of 
> the code.

Build changes look good. Thanks for the cleanup!

-

Marked as reviewed by ihse (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/8771