You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@linkis.apache.org by GitBox <gi...@apache.org> on 2022/04/02 09:00:16 UTC

[GitHub] [incubator-linkis] husofskyzy opened a new issue #1883: [Bug] [1.1.2] change TestUDFTree class to junit test class and Use try-with-resources or close this "URLClassLoader" in a "finally" clause

husofskyzy opened a new issue #1883:
URL: https://github.com/apache/incubator-linkis/issues/1883


   ### Search before asking
   
   - [X] I searched the [issues](https://github.com/apache/incubator-linkis/issues) and found no similar issues.
   
   
   ### Linkis Component
   
   linkis-commons
   
   ### What happened + What you expected to happen
   
   module: linkis-udf-service
   class: org.apache.linkis.udf.TestUDFTree
   ![企业微信截图_16488899547171](https://user-images.githubusercontent.com/29391030/161375812-c4a44d29-571f-40a7-86bd-9c0f8bfe77b3.png)  
   
   change TestUDFTree class to junit test class and Use try-with-resources or close this "URLClassLoader" in a "finally" clause
   
   
   ### Relevent platform
   
   all
   
   ### Reproduction script
   
   no
   
   ### Anything else
   
   no
   
   ### Are you willing to submit a PR?
   
   - [ ] Yes I am willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@linkis.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@linkis.apache.org
For additional commands, e-mail: dev-help@linkis.apache.org


[GitHub] [incubator-linkis] legendtkl commented on issue #1883: [Bug] [1.1.2] change TestUDFTree class to junit test class and Use try-with-resources or close this "URLClassLoader" in a "finally" clause

Posted by GitBox <gi...@apache.org>.
legendtkl commented on issue #1883:
URL: https://github.com/apache/incubator-linkis/issues/1883#issuecomment-1086651163


   I will fix this


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@linkis.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@linkis.apache.org
For additional commands, e-mail: dev-help@linkis.apache.org


[GitHub] [incubator-linkis] legendtkl commented on issue #1883: [Bug] [1.1.2] change TestUDFTree class to junit test class and Use try-with-resources or close this "URLClassLoader" in a "finally" clause

Posted by GitBox <gi...@apache.org>.
legendtkl commented on issue #1883:
URL: https://github.com/apache/incubator-linkis/issues/1883#issuecomment-1086794377


   Hi, @husofskyzy , I read the code, but can't get the point. And it also does not work.
   
   Could you give some explains about this?
   
   It's testing for loading class `org.apache.linkis.mask.udf.BdpAddressFirstEightMask` from the jar `E:\tm_client_1.6.jar` ? If so, would you upload the jar file here ? 
   
   Thanks,
   Kelu 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@linkis.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@linkis.apache.org
For additional commands, e-mail: dev-help@linkis.apache.org


[GitHub] [incubator-linkis] husofskyzy commented on issue #1883: [Bug] [1.1.2] change TestUDFTree class to junit test class and Use try-with-resources or close this "URLClassLoader" in a "finally" clause

Posted by GitBox <gi...@apache.org>.
husofskyzy commented on issue #1883:
URL: https://github.com/apache/incubator-linkis/issues/1883#issuecomment-1086710861


   OK,just do it.
   
   
   
   ---- 回复的原邮件 ----
   | 发件人 | ***@***.***> |
   | 日期 | 2022年04月02日 22:22 |
   | 收件人 | ***@***.***> |
   | 抄送至 | ***@***.******@***.***> |
   | 主题 | Re: [apache/incubator-linkis] [Bug] [1.1.2] change TestUDFTree class to junit test class and Use try-with-resources or close this "URLClassLoader" in a "finally" clause (Issue #1883) |
   
   I will fix this
   
   —
   Reply to this email directly, view it on GitHub, or unsubscribe.
   You are receiving this because you authored the thread.Message ID: ***@***.***>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@linkis.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@linkis.apache.org
For additional commands, e-mail: dev-help@linkis.apache.org


[GitHub] [incubator-linkis] legendtkl edited a comment on issue #1883: [Bug] [1.1.2] change TestUDFTree class to junit test class and Use try-with-resources or close this "URLClassLoader" in a "finally" clause

Posted by GitBox <gi...@apache.org>.
legendtkl edited a comment on issue #1883:
URL: https://github.com/apache/incubator-linkis/issues/1883#issuecomment-1086794377


   Hi, @husofskyzy , I read the code, but can't get the point. And it also does not work.
   
   Could you give some explains about this?
   
   It's testing for loading class `org.apache.linkis.mask.udf.BdpAddressFirstEightMask` from the jar `E:\tm_client_1.6.jar` ? If so, would you help upload the jar file here ? 
   
   Thanks,
   Kelu 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@linkis.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@linkis.apache.org
For additional commands, e-mail: dev-help@linkis.apache.org