Skip to content

Commit 0d2d07c

Browse files
committed
2021.2 patch3 code drop
1 parent a85d685 commit 0d2d07c

5 files changed

Lines changed: 63 additions & 12 deletions

File tree

RELEASE.md

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Release Notes for
22
P4Java, the Perforce Java API
33

4-
Version 2021.2 Patch 2
4+
Version 2021.2 Patch 3
55

66
Introduction
77

@@ -121,19 +121,28 @@ Known Limitations
121121
<java-home>/lib/security/local_policy.jar
122122
<java-home>/lib/security/US_export_policy.jar
123123

124+
-------------------------------------------
125+
Updates in 2021.2 Patch 3
126+
127+
#2277193 (Job #108577)
128+
Fixed parallel sync batchsize.
129+
130+
#2277668 (Job #110201)
131+
Parallel sync now passes charset to parallel threads.
132+
124133
-------------------------------------------
125134
Updates in 2021.2 Patch 2
126135

127-
#2263992 (Job #109211)
136+
#2263992 (Job #109211)
128137
Fixed how view mappings are parsed in label spec.
129138

130-
#2268314 (Job #108842)
139+
#2268314 (Job #108842)
131140
Reconcile of unchanged UTF17-LE files, no longer opens them for edit.
132141

133-
#2268017 (Job #105306)
142+
#2268017 (Job #105306)
134143
Fixed reconcile of paths with mix of slashes.
135144

136-
#2269716 (Job #110044)
145+
#2269716 (Job #110044)
137146
Login no longer throws exception when connected to a broker.
138147

139148
-------------------------------------------

p4java_eula.txt

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
Copyright (c) 2022, Perforce Software, Inc. All rights reserved.
2+
3+
4+
5+
BY INSTALLING OR DOWNLOADING THE SOFTWARE, YOU ARE ACCEPTING AND AGREEING TO THE TERMS OF
6+
THIS END USER LICENSE AGREEMENT (THE "LICENSE AGREEMENT"), AND IT LEGALLY BINDS YOU AND
7+
YOUR EMPLOYER (COLLECTIVELY THE "LICENSEE"), AND PERFORCE SOFTWARE, INC., A DELAWARE
8+
CORPORATION ("PERFORCE"), TO THE TERMS AND CONDITIONS OF THE LICENSE AGREEMENT (INCLUDING
9+
ANY TERMS, CONDITIONS, AND RESTRICTIONS CONTAINED IN ANY ORDER RELATING TO THE SOFTWARE).
10+
IF THE LICENSEE DOES NOT ACCEPT AND AGREE TO THE TERMS AND CONDITIONS OF THE LICENSE
11+
AGREEMENT THEN DO NOT DOWNLOAD, INSTALL, OR OTHERWISE USE THE SOFTWARE.
12+
13+
14+
15+
THE RIGHT TO USE THE SOFTWARE IS CONDITIONAL UPON ACCEPTANCE OF THE LICENSE AGREEMENT,
16+
UNLESS THE LICENSEE HAS ENTERED INTO A WRITTEN AND DULY SIGNED LICENSE AGREEMENT WITH
17+
PERFORCE, IN WHICH CASE SUCH SIGNED LICENSE AGREEMENT WILL GOVERN THE LICENSEE'S USE OF
18+
THE SOFTWARE.
19+
20+
21+
22+
Redistribution and use in source and binary forms, with or without modification, are
23+
permitted provided that the following conditions are met:
24+
25+
1. Redistributions of source code must retain the above copyright notice, this list of
26+
conditions and the following disclaimer.
27+
28+
2. Redistributions in binary form must reproduce the above copyright notice, this list of
29+
conditions and the following disclaimer in the documentation and/or other materials
30+
provided with the distribution.
31+
32+
3. Neither the name of the copyright holder nor the names of its contributors may be used
33+
to endorse or promote products derived from this software without specific prior written
34+
permission.
35+
36+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
37+
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
38+
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
39+
COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
40+
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
41+
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
42+
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
43+
TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
44+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

pom.xml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,9 @@
2828
</licenses>
2929

3030
<scm>
31-
<connection>scm:perforce:workshop.perforce.com:1666//guest/perforce_software/p4java
32-
</connection>
33-
<developerConnection>
34-
scm:perforce:workshop.perforce.com:1666//guest/perforce_software/p4java
35-
</developerConnection>
36-
<url>https://swarm.workshop.perforce.com/files/guest/perforce_software/p4java</url>
31+
<connection>scm:git:https://github.com/perforce/p4java.git</connection>
32+
<developerConnection>scm:git:https://github.com/perforce/p4java.git</developerConnection>
33+
<url>https://github.com/perforce/p4java</url>
3734
</scm>
3835

3936
<developers>

src/main/java/com/perforce/p4java/impl/generic/core/DefaultParallelSync.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ public void run() {
8080
server.setWorkingDirectory(cmdEnv.getServer().getWorkingDirectory());
8181
server.setTrustFilePath(cmdEnv.getServer().getTrustFilePath());
8282
server.setTicketsFilePath(cmdEnv.getServer().getTicketsFilePath());
83+
server.setCharsetName(cmdEnv.getServer().getCharsetName());
8384
server.connect();
8485

8586
//pass the result to the handle result

src/main/java/com/perforce/p4java/impl/mapbased/rpc/func/client/ClientHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public static String[] buildParallelOptions(IServer serverImpl, List<IFileSpec>
7272
parallelOptionsBuilder.append(",batch=" + pSyncOpts.getBatch());
7373
}
7474
if (pSyncOpts.getBatchSize() > 0) {
75-
parallelOptionsBuilder.append(",batchSize=" + pSyncOpts.getBatchSize());
75+
parallelOptionsBuilder.append(",batchsize=" + pSyncOpts.getBatchSize());
7676
}
7777

7878
String[] syncOptions = Parameters.processParameters(syncOpts, fileSpecs, serverImpl);

0 commit comments

Comments
 (0)