Skip to content

Commit fa63903

Browse files
committed
Merge master jdk-17.0.7+4 into openj9-staging
Signed-off-by: J9 Build <[email protected]>
2 parents 6a49a2f + f93eed2 commit fa63903

33 files changed

+518
-241
lines changed

doc/building.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ <h4 id="advanced-make-control-variables">Advanced Make Control Variables</h4>
513513
</ul>
514514
<h2 id="running-tests">Running Tests</h2>
515515
<p>Most of the JDK tests are using the <a href="http://openjdk.java.net/jtreg">JTReg</a> test framework. Make sure that your configuration knows where to find your installation of JTReg. If this is not picked up automatically, use the <code>--with-jtreg=&lt;path to jtreg home&gt;</code> option to point to the JTReg framework. Note that this option should point to the JTReg home, i.e. the top directory, containing <code>lib/jtreg.jar</code> etc.</p>
516-
<p>The <a href="https://wiki.openjdk.java.net/display/Adoption">Adoption Group</a> provides recent builds of jtreg <a href="https://ci.adoptopenjdk.net/view/Dependencies/job/dependency_pipeline/lastSuccessfulBuild/artifact/jtreg/">here</a>. Download the latest <code>.tar.gz</code> file, unpack it, and point <code>--with-jtreg</code> to the <code>jtreg</code> directory that you just unpacked.</p>
516+
<p>The <a href="https://wiki.openjdk.java.net/display/Adoption">Adoption Group</a> provides recent builds of jtreg <a href="https://ci.adoptium.net/view/Dependencies/job/dependency_pipeline/lastSuccessfulBuild/artifact/jtreg/">here</a>. Download the latest <code>.tar.gz</code> file, unpack it, and point <code>--with-jtreg</code> to the <code>jtreg</code> directory that you just unpacked.</p>
517517
<p>Building of Hotspot Gtest suite requires the source code of Google Test framework. The top directory, which contains both <code>googletest</code> and <code>googlemock</code> directories, should be specified via <code>--with-gtest</code>. The supported version of Google Test is 1.8.1, whose source code can be obtained:</p>
518518
<ul>
519519
<li>by downloading and unpacking the source bundle from <a href="https://github.com/google/googletest/releases/tag/release-1.8.1">here</a></li>

doc/building.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,7 @@ containing `lib/jtreg.jar` etc.
848848
849849
The [Adoption Group](https://wiki.openjdk.java.net/display/Adoption) provides
850850
recent builds of jtreg [here](
851-
https://ci.adoptopenjdk.net/view/Dependencies/job/dependency_pipeline/lastSuccessfulBuild/artifact/jtreg/).
851+
https://ci.adoptium.net/view/Dependencies/job/dependency_pipeline/lastSuccessfulBuild/artifact/jtreg/).
852852
Download the latest `.tar.gz` file, unpack it, and point `--with-jtreg` to the
853853
`jtreg` directory that you just unpacked.
854854

make/data/cacerts/certignaca

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
Owner: CN=Certigna, O=Dhimyotis, C=FR
2+
Issuer: CN=Certigna, O=Dhimyotis, C=FR
3+
Serial number: fedce3010fc948ff
4+
Valid from: Fri Jun 29 15:13:05 GMT 2007 until: Tue Jun 29 15:13:05 GMT 2027
5+
Signature algorithm name: SHA1withRSA
6+
Subject Public Key Algorithm: 2048-bit RSA key
7+
Version: 3
8+
-----BEGIN CERTIFICATE-----
9+
MIIDqDCCApCgAwIBAgIJAP7c4wEPyUj/MA0GCSqGSIb3DQEBBQUAMDQxCzAJBgNV
10+
BAYTAkZSMRIwEAYDVQQKDAlEaGlteW90aXMxETAPBgNVBAMMCENlcnRpZ25hMB4X
11+
DTA3MDYyOTE1MTMwNVoXDTI3MDYyOTE1MTMwNVowNDELMAkGA1UEBhMCRlIxEjAQ
12+
BgNVBAoMCURoaW15b3RpczERMA8GA1UEAwwIQ2VydGlnbmEwggEiMA0GCSqGSIb3
13+
DQEBAQUAA4IBDwAwggEKAoIBAQDIaPHJ1tazNHUmgh7stL7qXOEm7RFHYeGifBZ4
14+
QCHkYJ5ayGPhxLGWkv8YbWkj4Sti993iNi+RB7lIzw7sebYs5zRLcAglozyHGxny
15+
gQcPOJAZ0xH+hrTy0V4eHpbNgGzOOzGTtvKg0KmVEn2lmsxryIRWijOp5yIVUxbw
16+
zBfsV1/pogqYCd7jX5xv3EjjhQsVWqa6n6xI4wmy9/Qy3l40vhx4XUJbzg4ij02Q
17+
130yGLMLLGq/jj8UEYkgDncUtT2UCIf3JR7VsmAA7G8qKCVuKj4YYxclPz5EIBb2
18+
JsglrgVKtOdjLPOMFlN+XPsRGgjBRmKfIrjxwo1p3Po6WAbfAgMBAAGjgbwwgbkw
19+
DwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUGu3+QTmQtCRZvgHyUtVF9lo53BEw
20+
ZAYDVR0jBF0wW4AUGu3+QTmQtCRZvgHyUtVF9lo53BGhOKQ2MDQxCzAJBgNVBAYT
21+
AkZSMRIwEAYDVQQKDAlEaGlteW90aXMxETAPBgNVBAMMCENlcnRpZ25hggkA/tzj
22+
AQ/JSP8wDgYDVR0PAQH/BAQDAgEGMBEGCWCGSAGG+EIBAQQEAwIABzANBgkqhkiG
23+
9w0BAQUFAAOCAQEAhQMeknH2Qq/ho2Ge6/PAD/Kl1NqV5ta+aDY9fm4fTIrv0Q8h
24+
bV6lUmPOEvjvKtpv6zf+EwLHyzs+ImvaYS5/1HI93TDhHkxAGYwP15zRgzB7mFnc
25+
fca5DClMoTOi62c6ZYTTluLtdkVwj7Ur3vkj1kluPBS1xp81HlDQwY9qcEQCYsuu
26+
HWhBp6pX6FOqB9IG9tUUBguRA3UsbHK1YZWaDYu5Def131TN3ubY1gkIl2PlwS6w
27+
t0QmwCbAr1UwnjvVNioZBPRcHv/PLLf/0P2HQBHVESO7SMAhqaQoLf0V+LBOK/Qw
28+
WyH8EZE0vkHve52Xdf+XlcCWWC/qu0bXu+TZLg==
29+
-----END CERTIFICATE-----

src/java.base/share/classes/com/sun/crypto/provider/CipherCore.java

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2002, 2021, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2002, 2022, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -835,10 +835,13 @@ int doFinal(byte[] input, int inputOffset, int inputLen, byte[] output,
835835
if (outputCapacity < estOutSize) {
836836
cipher.save();
837837
}
838-
// create temporary output buffer if the estimated size is larger
839-
// than the user-provided buffer.
840-
internalOutput = new byte[estOutSize];
841-
offset = 0;
838+
if (outputCapacity < estOutSize || padding != null) {
839+
// create temporary output buffer if the estimated size is larger
840+
// than the user-provided buffer or a padding needs to be removed
841+
// before copying the unpadded result to the output buffer
842+
internalOutput = new byte[estOutSize];
843+
offset = 0;
844+
}
842845
}
843846

844847
byte[] outBuffer = (internalOutput != null) ? internalOutput : output;

src/java.base/share/classes/java/net/URI.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2135,10 +2135,12 @@ private static String resolvePath(String base, String child,
21352135
path = base.substring(0, i + 1);
21362136
} else {
21372137
StringBuilder sb = new StringBuilder(base.length() + cn);
2138-
// 5.2 (6a)
2139-
if (i >= 0)
2138+
// 5.2 (6a-b)
2139+
if (i >= 0 || !absolute) {
21402140
sb.append(base, 0, i + 1);
2141-
// 5.2 (6b)
2141+
} else {
2142+
sb.append('/');
2143+
}
21422144
sb.append(child);
21432145
path = sb.toString();
21442146
}

src/java.sql.rowset/share/classes/com/sun/rowset/RowSetResourceBundle.properties

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
2+
# Copyright (c) 2005, 2022, Oracle and/or its affiliates. All rights reserved.
33
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
#
55
# This code is free software; you can redistribute it and/or modify it
@@ -60,7 +60,6 @@ cachedrowsetimpl.movetoins1 = moveToInsertRow : no meta data
6060
cachedrowsetimpl.movetoins2 = moveToInsertRow : invalid number of columns
6161
cachedrowsetimpl.tablename = Table name cannot be null
6262
cachedrowsetimpl.keycols = Invalid key columns
63-
cachedrowsetimpl.invalidcol = Invalid column index
6463
cachedrowsetimpl.opnotsupp = Operation not supported by Database
6564
cachedrowsetimpl.matchcols = Match columns are not the same as those set
6665
cachedrowsetimpl.setmatchcols = Set Match columns before getting them

src/java.sql.rowset/share/classes/com/sun/rowset/RowSetResourceBundle_de.properties

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2005, 2016, Oracle and/or its affiliates. All rights reserved.
2+
# Copyright (c) 2005, 2022, Oracle and/or its affiliates. All rights reserved.
33
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
#
55
# This code is free software; you can redistribute it and/or modify it
@@ -60,7 +60,6 @@ cachedrowsetimpl.movetoins1 = moveToInsertRow: keine Metadaten
6060
cachedrowsetimpl.movetoins2 = moveToInsertRow: ung\u00FCltige Spaltenanzahl
6161
cachedrowsetimpl.tablename = Tabellenname darf nicht null sein
6262
cachedrowsetimpl.keycols = Ung\u00FCltige Schl\u00FCsselspalten
63-
cachedrowsetimpl.invalidcol = Ung\u00FCltiger Spaltenindex
6463
cachedrowsetimpl.opnotsupp = Vorgang nicht von Datenbank unterst\u00FCtzt
6564
cachedrowsetimpl.matchcols = \u00DCbereinstimmungsspalten entsprechen nicht den festgelegten Spalten
6665
cachedrowsetimpl.setmatchcols = \u00DCbereinstimmungsspalten m\u00FCssen vor dem Abrufen festgelegt werden

src/java.sql.rowset/share/classes/com/sun/rowset/RowSetResourceBundle_es.properties

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
2+
# Copyright (c) 2005, 2022, Oracle and/or its affiliates. All rights reserved.
33
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
#
55
# This code is free software; you can redistribute it and/or modify it
@@ -60,7 +60,6 @@ cachedrowsetimpl.movetoins1 = moveToInsertRow: no hay metadatos
6060
cachedrowsetimpl.movetoins2 = moveToInsertRow: n\u00FAmero de columnas no v\u00E1lido
6161
cachedrowsetimpl.tablename = El nombre de la tabla no puede ser nulo
6262
cachedrowsetimpl.keycols = Columnas clave no v\u00E1lidas
63-
cachedrowsetimpl.invalidcol = \u00CDndice de columnas no v\u00E1lido
6463
cachedrowsetimpl.opnotsupp = La base de datos no admite esta operaci\u00F3n
6564
cachedrowsetimpl.matchcols = Las columnas coincidentes no concuerdan con las definidas
6665
cachedrowsetimpl.setmatchcols = Defina las columnas coincidentes antes de obtenerlas

src/java.sql.rowset/share/classes/com/sun/rowset/RowSetResourceBundle_fr.properties

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
2+
# Copyright (c) 2005, 2022, Oracle and/or its affiliates. All rights reserved.
33
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
#
55
# This code is free software; you can redistribute it and/or modify it
@@ -60,7 +60,6 @@ cachedrowsetimpl.movetoins1 = moveToInsertRow : aucune m\u00E9tadonn\u00E9e
6060
cachedrowsetimpl.movetoins2 = moveToInsertRow : nombre de colonnes non valide
6161
cachedrowsetimpl.tablename = Le nom de la table ne peut pas \u00EAtre NULL
6262
cachedrowsetimpl.keycols = Colonnes de cl\u00E9 non valides
63-
cachedrowsetimpl.invalidcol = Index de colonne non valide
6463
cachedrowsetimpl.opnotsupp = Op\u00E9ration non prise en charge par la base de donn\u00E9es
6564
cachedrowsetimpl.matchcols = Les colonnes correspondantes ne sont pas les m\u00EAmes que les colonnes d\u00E9finies
6665
cachedrowsetimpl.setmatchcols = D\u00E9finir les colonnes correspondantes avant de les prendre

src/java.sql.rowset/share/classes/com/sun/rowset/RowSetResourceBundle_it.properties

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
2+
# Copyright (c) 2005, 2022, Oracle and/or its affiliates. All rights reserved.
33
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
#
55
# This code is free software; you can redistribute it and/or modify it
@@ -60,7 +60,6 @@ cachedrowsetimpl.movetoins1 = moveToInsertRow: nessun metadato
6060
cachedrowsetimpl.movetoins2 = moveToInsertRow: numero di colonne non valido
6161
cachedrowsetimpl.tablename = Il nome di tabella non pu\u00F2 essere nullo
6262
cachedrowsetimpl.keycols = Colonne chiave non valide
63-
cachedrowsetimpl.invalidcol = Indice di colonna non valido
6463
cachedrowsetimpl.opnotsupp = Operazione non supportata dal database
6564
cachedrowsetimpl.matchcols = Le colonne di corrispondenza non coincidono con le colonne impostate
6665
cachedrowsetimpl.setmatchcols = Impostare le colonne di corrispondenza prima di recuperarle

0 commit comments

Comments
 (0)