Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync of the master branch to 8.0.0 #24819

Merged
merged 18 commits into from
Feb 22, 2024
Merged

Conversation

dmatej
Copy link
Contributor

@dmatej dmatej commented Feb 21, 2024

No description provided.

kaido207 and others added 18 commits February 9, 2024 18:07
…ed using the JVM Options page

Signed-off-by: kaido207 <kaido.hiroki@fujitsu.com>
Signed-off-by: kaido207 <kaido.hiroki@fujitsu.com>
Signed-off-by: kaido207 <kaido.hiroki@fujitsu.com>
- Using try-with
- Safer ZipEntry management, new closeable WritableArchiveEntry
- Revisited FileUtils
  - deleted unused methods
  - added USER_HOME file
  - new ensureWritableDir method; if the directory cannot be used or created,
    throws ISE
- ProprietaryReader.readFrom closes the input OR sets that to a returned object
  - The behavior is not much consistent and I don't like it, but now it is
    documented and better controlled.
  - Implementations are final to limit risks.
- Fix: MIMEMessage is closeable!
- Fix: JsonParser doesn't close the input if it is a stream!
- AsadminSecurityUtil.GF_CLIENT_DIR constant
  - by default subdir in user's home as it was before this commit
  - can be reset by GF_CLIENT_DIR environment property.
  - MUST be writeable, client should crash otherwise.
- ArchivistUtils deleted - duplicit to FileUtils

Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
- Safer impl without resource leaks (I hope, there's yet one class with really
  wide scope and also some finalizers, should be revisited later again).
- More logs - it is hard to find what is wrong when it just does something
  in the background.
- I wanted to write some tests around DeploymentContext, but it has too many
  dependencies, so it is covered just by integration tests (persistence_all ie)

Signed-off-by: David Matějček <david.matejcek@omnifish.ee>

# Conflicts:
#	appserver/tests/testcontainers/src/test/java/org/glassfish/main/test/tc/GlassFishContainer.java
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>

# Conflicts:
#	appserver/tests/testcontainers/pom.xml
#	appserver/tests/testcontainers/src/test/java/org/glassfish/main/test/tc/DomainRestartITest.java
#	appserver/tests/testcontainers/src/test/java/org/glassfish/main/test/tc/GlassFishContainer.java
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>

# Conflicts:
#	appserver/tests/testcontainers/pom.xml
#	appserver/tests/testcontainers/src/test/java/org/glassfish/main/test/tc/GlassFishContainer.java
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
- it has to be refactored or rewritten to a more robust state

Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>

# Conflicts:
#	appserver/jms/jms-core/src/main/java/com/sun/enterprise/connectors/jms/system/JmsProviderLifecycle.java
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Fixes eclipse-ee4j#24816 Non-ASCII characters are not saved correctly in JVM options added using the JVM Options page
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
# Conflicts:
#	appserver/deployment/jakartaee-full/src/main/java/org/glassfish/javaee/full/deployment/EarHandler.java
#	appserver/tests/jakartaee/pom.xml
#	nucleus/security/core/src/main/java/com/sun/enterprise/security/common/Util.java
@dmatej dmatej requested a review from arjantijms February 21, 2024 23:45
@arjantijms arjantijms added this to the 8.0.0 milestone Feb 22, 2024
@arjantijms arjantijms added 8.0 Issues that happen only on GlassFish 8 and not in version 7 8.0-M3 labels Feb 22, 2024
@arjantijms arjantijms merged commit 07e480a into eclipse-ee4j:8.0 Feb 22, 2024
2 checks passed
@dmatej dmatej deleted the masterTo8 branch March 18, 2024 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.0 Issues that happen only on GlassFish 8 and not in version 7
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants