Project renaming
by Scott Stark
One thing that needs to happen for each Jakarta EE project is a renaming to avoid the Oracle trademarked names and acronyms. The means that Contexts and Dependency Injection for Java needs to change to avoid the use of Java. The current proposed name from the steering committee is Jakarta Contexts and Dependency Injection.
The projects should have been asked by the PMC what their preferred rename is, but I have not seen anything back from the CDI dev group. I had asked this question a while back but it appears to be have bounced due to not being subscribed, so I wanted to raise this question again.
Are there other preferences this project would like the steering and specification committees to entertain?
5 years, 3 months
[JBoss JIRA] (CDI-744) errorprone.info bugpattern GetClassOnAnnotation
by John Westbrook (Jira)
John Westbrook created CDI-744:
----------------------------------
Summary: errorprone.info bugpattern GetClassOnAnnotation
Key: CDI-744
URL: https://issues.jboss.org/browse/CDI-744
Project: CDI Specification Issues
Issue Type: Bug
Components: Decorators
Affects Versions: 2.0.SP1
Environment: https://bazel.build
Reporter: John Westbrook
api/src/main/java/javax/enterprise/util/AnnotationLiteral.java:84: error: [GetClassOnAnnotation] Calling getClass() on an annotation may return a proxy class
if (members.length > 0 && !annotationType().isAssignableFrom(this.getClass())) {
^
(see https://errorprone.info/bugpattern/GetClassOnAnnotation)
Did you mean 'if (members.length > 0 && !annotationType().isAssignableFrom(this.annotationType())) {'?
api/src/main/java/javax/enterprise/util/AnnotationLiteral.java:117: error: [GetClassOnAnnotation] Calling getClass() on an annotation may return a proxy class
Class<?> annotationLiteralSubclass = getAnnotationLiteralSubclass(this.getClass());
^
(see https://errorprone.info/bugpattern/GetClassOnAnnotation)
Did you mean 'Class<?> annotationLiteralSubclass = getAnnotationLiteralSubclass(this.annotationType());'?
api/src/main/java/javax/enterprise/util/AnnotationLiteral.java:278: error: [GetClassOnAnnotation] Calling getClass() on an annotation may return a proxy class
throw new IllegalArgumentException("Annotation member value " + instance.getClass().getName() + "."
^
(see https://errorprone.info/bugpattern/GetClassOnAnnotation)
Did you mean 'throw new IllegalArgumentException("Annotation member value " + instance.annotationType().getName() + "."'?
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 6 months