State of play:
JDK 8 contains these exceptions as part of the JDK as the ORB references them.
JDK 11 they are removed as the ORB is removed.
Jakarta EE 9 JTA api contains these classes in the Jakarta namespace
Use cases as I see it are;
People need to use the GlassFish Orb with JDK 8 standalone
People need to use the GlassFish Orb with JDK 11 standalone
People e.g. GlassFish need to use the GlassFish Orb on JDK 8 in combination with Jakarta EE 9
People e.g. GlassFish need to use the GlassFish ORB on JDK 11 in combination with Jakarta EE 9
Steve
From: glassfish-dev-bounces@xxxxxxxxxxx <glassfish-dev-bounces@xxxxxxxxxxx>
On Behalf Of Russell Gold
Sent: 21 August 2020 15:27
To: glassfish developer discussions <glassfish-dev@xxxxxxxxxxx>
Cc: orb developer discussions <orb-dev@xxxxxxxxxxx>
Subject: Re: [glassfish-dev] EJB test failures in latest TCK run
I guess I don’t really understand the use cases well enough to answer. Where are the jakarta exception classes defined? Are the javax exceptions going to be removed from the JDK? This is where unit tests can really
help - to clarify the requirements and expectations.