Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jta-dev] Issue with exceptions from javax.transaction referenced in JDK



On Thu, 20 Aug 2020 at 15:55, Lance Andersen <LANCE.ANDERSEN@xxxxxxxxxx> wrote:
Hi Tom,

On Aug 20, 2020, at 7:19 AM, Tom Jenkinson <tom.jenkinson@xxxxxxxxxx> wrote:



On Thu, 20 Aug 2020 at 11:41, Lance Andersen <LANCE.ANDERSEN@xxxxxxxxxx> wrote:
Hi Tom,



On Aug 20, 2020, at 5:25 AM, Tom Jenkinson <tom.jenkinson@xxxxxxxxxx> wrote:

Hi,

I have found that there are some javax.transaction exceptions that are in JDK 8 and at least referred to later. They are also present in Oracle Java SE 8 javadocs. I am not sure what to do.

Although they don't appear to be in the Oracle Java SE 14 javadocs:
You can see they are in the Oracle Java SE 8 javadocs:

I removed these from the JDK as part of JEP 320/JDK 11 as they are valid for Java SE 8

I can see that the source is present in OpenJDK 8:

I don't think the actual source remains on master for OpenJDK (at least in the main repo, maybe CORBA is held elsewhere?):

No action is needed though a couple of the fields in the tests I can clean up.  Thank you for pointing this out.

Given we support JDK 8 (https://jakarta.ee/resources/JakartaEE-Datasheet-July172020_final.pdf) I am not sure what to do.

I am not sure nothing needs done given they are in the javax namespace and there are applications still relying on that.

Thanks for the information above Lance

I am not sure what to do with Jakarta Transactions as we have currently converted those to jakarta package:

So I can understand better, are you suggesting those exceptions should be moved back (in terms of development as they are already moved on master) to the javax package for Jakarta EE9?

No they can stay as is.  Java SE supports JTA 1.3 and below directly (this is where we split out what was moving to Eclipse and what was staying in OpenJDK).

If you are using the JTA 1.3 and below, you will require the javax namespace to access the exceptions.    
If you are using Jakarta Transactions with JDK 8 there should not be any collisions as those applications given it is looking for the jakarata namespace for those exceptions.

Hope this above is clear(er) :-)

Thanks Lance

The Jakarta Transactions project will continue without reverting the package changes for those exceptions for Jakarta EE 9.



Best
Lance


Best
Lance

Thanks in advance for any help and suggestions you can offer,
Tom
_______________________________________________
jta-dev mailing list
jta-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://urldefense.com/v3/__https://www.eclipse.org/mailman/listinfo/jta-dev__;!!GqivPVa7Brio!LMgnSdXQYQpBs8aOpHTsnTXCYLaTus_pwra9LOkqb7vrSiAT8g3QAgP9cTXICHxpOA$ 


Best
Lance
------------------

<oracle_sig_logo.gif>


Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037
Oracle Java Engineering 
1 Network Drive 
Burlington, MA 01803
Lance.Andersen@xxxxxxxxxx




_______________________________________________
jta-dev mailing list
jta-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jta-dev
_______________________________________________
jta-dev mailing list
jta-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://urldefense.com/v3/__https://www.eclipse.org/mailman/listinfo/jta-dev__;!!GqivPVa7Brio!I0ti2n4qnABvdWCe6n4Twd77sfBcADloQjdtASSskbJIpdPGgpPNDvowO6JZ_G0Pzw$


Best
Lance
------------------



Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037
Oracle Java Engineering 
1 Network Drive 
Burlington, MA 01803
Lance.Andersen@xxxxxxxxxx




_______________________________________________
jta-dev mailing list
jta-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jta-dev

Back to the top