Skip to content

Commit

Permalink
Make test run order fixed,
Browse files Browse the repository at this point in the history
minor updates for build on JDK18

Signed-off-by: Lukas Jungmann <[email protected]>
  • Loading branch information
lukasj committed Jul 21, 2022
1 parent 1c4431d commit c5738d8
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 11 deletions.
1 change: 1 addition & 0 deletions jpa/eclipselink.jpa.testapps/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<useModulePath>true</useModulePath>
<runOrder>alphabetical</runOrder>
</configuration>
<executions>
<execution>
Expand Down
4 changes: 2 additions & 2 deletions jpa/org.eclipse.persistence.jpa.jpql/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2019, 2021 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2019, 2022 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0 which is available at
Expand Down Expand Up @@ -32,7 +32,7 @@

<properties>
<comp.xlint>-Xlint:all</comp.xlint>
<comp.test.xlint>-Xlint:all</comp.test.xlint>
<comp.test.xlint>-Xlint:all,-serial</comp.test.xlint>
</properties>

<dependencies>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2006, 2021 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2006, 2022 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
Expand Down Expand Up @@ -32,12 +32,12 @@ public abstract class CompoundFilter<T> implements Filter<T>,
/**
* The first {@link Filter} used to accept the value.
*/
protected final Filter<T> filter1;
protected transient final Filter<T> filter1;

/**
* The second {@link Filter} used to accept the value.
*/
protected final Filter<T> filter2;
protected transient final Filter<T> filter2;

/**
* The version number of this class which is used during deserialization to verify that the
Expand Down
2 changes: 1 addition & 1 deletion jpa/org.eclipse.persistence.jpars/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<properties>
<comp.xlint>-Xlint:all</comp.xlint>
<comp.xdoclint>-Xdoclint:all,-missing</comp.xdoclint>
<comp.test.xlint>-Xlint:all</comp.test.xlint>
<comp.test.xlint>-Xlint:all,-serial</comp.test.xlint>

<!--Properties used for test resources filtering/replacement-->
<!--DB connection properties-->
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011, 2020 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2011, 2022 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
Expand All @@ -21,7 +21,7 @@
public class RestCallFailedException extends RuntimeException {
private static final long serialVersionUID = 1L;
private int httpStatus;
private ErrorResponse errorDetails;
private transient ErrorResponse errorDetails;

public RestCallFailedException(int httpStatus, ErrorResponse errorDetails) {
super();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1998, 2021 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1998, 2022 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
Expand Down Expand Up @@ -45,9 +45,9 @@ public class ViewCache implements Externalizable {
public static final String PARAMETER_USER = "USER";
public static final String PARAMETER_ALL = "ALL";

protected Connection m_conn;
protected transient Connection m_conn;
protected String m_user;
protected Map m_rowsCacheIndex;
protected transient Map m_rowsCacheIndex;
protected ArrayList m_rowsCache;
protected int m_hits;
protected int m_visits;
Expand Down

0 comments on commit c5738d8

Please sign in to comment.