[jira] [Commented] (OFBIZ-10757) Upgrade OFBiz to use Java JDK Version 11

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-10757) Upgrade OFBiz to use Java JDK Version 11

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-10757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16779092#comment-16779092 ]

Jacques Le Roux commented on OFBIZ-10757:
-----------------------------------------

Taher,

I don't think we should let all the work to Deepak ;). When you say
bq. so perhaps it might be cleaner to avoid mixing concepts in one commit.
If you think about {{ CacheSoftReference::finalize}} it's actually also a warning shown by Java 11. There is another which is
{{SafeObjectInputStream.java:83: warning: [deprecation] getProxyClass(ClassLoader,Class<?>...) in Proxy has been deprecated}}
that I tried to fix yesterday but it's a bit more complicated because of the need of an InvocationHandler.

bq. Maybe the getInstance method can also get some love, it throws too many exceptions at the moment which kind of seems also too verbose?
I just tried to restrict to InvocationTargetException, but Eclipse (compliance 11, did not try to compile) does not agree and needs also those exceptions. We need to improve the Javadoc actually.

> Upgrade OFBiz to use Java JDK Version 11
> ----------------------------------------
>
>                 Key: OFBIZ-10757
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10757
>             Project: OFBiz
>          Issue Type: Improvement
>            Reporter: Taher Alkhateeb
>            Priority: Minor
>         Attachments: OFBIZ-10757-framework.patch, OFBIZ-10757-framework.patch, OFBIZ-10757-framework.patch, OFBIZ-10757-plugins.patch, OFBIZ-10757-plugins.patch
>
>
> To implement as per [Discussion Thread|https://lists.apache.org/thread.html/71b8c1048f1dd4c5b3f104233c9af7b2cbc690863fe35b08ef91fcf5@%3Cdev.ofbiz.apache.org%3E]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)