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 6.x to master - 30/01/2022 #23774

Merged
merged 17 commits into from
Feb 1, 2022

Conversation

dmatej
Copy link
Contributor

@dmatej dmatej commented Jan 31, 2022

No description provided.

dmatej and others added 17 commits January 15, 2022 19:38
…rta.management.j2ee-api removal

- reverted some changes from the previous commit
- removed tests depending on the j2ee-api jar
…d deprecated Proxy.getProxyClass

- EJB tests failed on JDK17 because of this
- also more consistent generateAndLoad (to be finished in next commits)
- ejb_all/ejb_group_1/ejb_group_2/ejb_group_3/ejb_group_embedded
- added add-opens where required
- new group for embedded as it is significantly different than others
  and I often required to execute it separatedly
- added -Dorg.glassfish.gmbal.no.multipleUpperBoundsException=true for the
  standaloneclient test stub
- tests will fail, but with this commit it means that they do work!!!
- not completely as under some circumstances we cannot live without them
- but we can decide when
- if the class was generated in the same package, the usage and the classloader
  are suitable, we can use MethodHandles. Otherwise we have to use the
  ClassLoader.defineClass method (accessed by reflection)
- we had to avoid using Base class from PFL, because it uses just MethodHandles
  XOR ClassLoader XOR Unsafe depending on the JDK.
- this solution was tested by
  - glassfish's ejb_all tests with JDK11 and JDK17
  - TCK/ejb with JDK11
…ot in the same package

- that means that we cannot use the MethodHandles.Looku.defineClass impl
- formatting of the code to make it easier to read
- fixed several log messages (wrong formatting)
- ContainerInfo used to reduce duplications
- replaced several deprecated method calls with simple straight replacements
- deleted 20 years old TODOs
- memory and cpu settings tested for current hardware usually used on jenkins,
  respecting limits
- compilation without test with parallelized maven execution
- upgraded jnlp
- separate settings for maven and ant tests
- bundles content with fast compression, excluded what we don't need
Fixed ejb tests + Fixed generating EJB classes
# Conflicts: - easy
#	Jenkinsfile
#	appserver/extras/javaee/manifest-jar/pom.xml
#	appserver/pom.xml
@dmatej dmatej self-assigned this Jan 31, 2022
@arjantijms arjantijms merged commit eec472c into eclipse-ee4j:master Feb 1, 2022
@dmatej dmatej deleted the sync-6.x-to-master220130 branch February 1, 2022 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants