jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julian Reschke (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (OAK-7511) get rid of JSR 305 dependency
Date Tue, 10 Jul 2018 15:13:00 GMT

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

Julian Reschke edited comment on OAK-7511 at 7/10/18 3:12 PM:
--------------------------------------------------------------

AFAIU, the only plan that we currently have is to switch to the JetBrains annotations, as
already done over in Jackrabbit (JCR-4301).

Here's my attempt to make the switch easier: https://issues.apache.org/jira/secure/attachment/12931017/convert-annotations.sh
- this will convert all Java files below the current directory. WARNING: destructive! Only
run on sources under version control.

The code likely will fail in some edge cases (feedback appreciated). That said, it did work
fine on oak-store-document, except for the javax.annotation.Nonnegative that we won't be able
to map (see https://issues.apache.org/jira/secure/attachment/12931020/example.diff).

Feedback appreciated.


was (Author: reschke):
AFAIU, the only plan that we currently have is to switch to the JetBrains annotations, as
already done over in Jackrabbit (JCR-4301).

Here's my attempt to make the switch easier: https://issues.apache.org/jira/secure/attachment/12931017/convert-annotations.sh
- this will convert all Java files below the current directory. WARNING: destructive! Only
run on sources under version control.

The code likely will fail in some edge cases (feedback appreciated). That said, it did work
fine on oak-store-document, except for the javax.annotation.Nonnegative that we won't be able
to map.

Feedback appreciated.

> get rid of JSR 305 dependency
> -----------------------------
>
>                 Key: OAK-7511
>                 URL: https://issues.apache.org/jira/browse/OAK-7511
>             Project: Jackrabbit Oak
>          Issue Type: Task
>            Reporter: Julian Reschke
>            Assignee: Julian Reschke
>            Priority: Major
>         Attachments: convert-annotations.sh, example.diff
>
>
> We should consider getting rid of the JSR 305 dependency (see <https://blog.codefx.org/java/jsr-305-java-9/>).



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

Mime
View raw message