You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@uima.apache.org by Hai-son X Nguyen <Ha...@kp.org> on 2019/05/31 17:01:14 UTC

JCasGen classes for V3 compiler warnings

Hello,

I am testing migrating to UIMA V3 (3.0.2) and am seeing a variety of warnings in Eclipse (2019-03, Java 8) using the plugin (v3.0.2).

There are 3 types of warnings:

  1.  “FSArray is a raw type. References to generic type FSArray<T> should be parameterized.”
  2.  “The import XXX is never used”
     *   java.lang.invoke.CallSite
     *   java.lang.invoke.MethodHandle
     *   and org.apache.uima.cas.impl.TypeSystemImpl)
  3.  And “The constructor XXX() is deprecated”

Is it appropriate to open a JIRA ticket for these problems?

Thanks!

Hai-Son Nguyen
IT Consultant Principal
Medical Informatics
Systems, Solutions, and Deployment
Office: 858.523.6415
📱: 858.876.7177


NOTICE TO RECIPIENT:  If you are not the intended recipient of this e-mail, you are prohibited from sharing, copying, or otherwise using or disclosing its contents.  If you have received this e-mail in error, please notify the sender immediately by reply e-mail and permanently delete this e-mail and any attachments without reading, forwarding or saving them.  Thank you.


NOTICE TO RECIPIENT:  If you are not the intended recipient of this e-mail, you are prohibited from sharing, copying, or otherwise using or disclosing its contents.  If you have received this e-mail in error, please notify the sender immediately by reply e-mail and permanently delete this e-mail and any attachments without reading, forwarding or saving them.  Thank you.

Re: JCasGen classes for V3 compiler warnings

Posted by Marshall Schor <ms...@schor.com>.
Hi,

I'm guessing these warnings come from generated JCas classes?

I think that they all represent low priority things that are unlikely to get
improved in the near future, unless someone wants to work on these and submit
patches (always welcome :-) ). 

If you are so inclined, it would be good to submit Jira issues for the ones you
want to work on, so any discussions around how to improve these can be
documented in those Jiras.

Thank you for your interest.  -Marshall Schor


On 5/31/2019 1:01 PM, Hai-son X Nguyen wrote:
> Hello,
>
> I am testing migrating to UIMA V3 (3.0.2) and am seeing a variety of warnings in Eclipse (2019-03, Java 8) using the plugin (v3.0.2).
>
> There are 3 types of warnings:
>
>   1.  “FSArray is a raw type. References to generic type FSArray<T> should be parameterized.”
>   2.  “The import XXX is never used”
>      *   java.lang.invoke.CallSite
>      *   java.lang.invoke.MethodHandle
>      *   and org.apache.uima.cas.impl.TypeSystemImpl)
>   3.  And “The constructor XXX() is deprecated”
>
> Is it appropriate to open a JIRA ticket for these problems?
>
> Thanks!
>