New issue
Advanced search Search tips
Starred by 2 users

Issue metadata

Status: Submitted
Owner: ----
Closed: Jan 25
Cc:
Components:



Sign in to add a comment
link

Issue 10382: DefaultMemoryCacheModule/DefaultMemoryCacheFactory not exported in the plugin API for 2.16.x

Reported by david.pu...@gmail.com, Jan 25 Project Member

Issue description

*****************************************************************
*****                                                       *****
***** !!!! THIS BUG TRACKER IS FOR GERRIT CODE REVIEW !!!!  *****
*****                                                       *****
***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, CYANOGENMOD,  *****
***** INTERNAL ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC.*****
*****                                                       *****
*****   THOSE ISSUES BELONG IN DIFFERENT ISSUE TRACKERS     *****
*****                                                       *****
*****************************************************************

Affected Version: 2.16.4

What steps will reproduce the problem?
1. Have a plugin on 2.15.x that uses DefaultMemoryCacheModule
2. Migrate to 2.16.4
3.

What is the expected output?

Be able to build

What do you see instead?

Can't build because DefaultMemoryCacheModule is not found.

Please provide any additional information below.

Seems to not be exported in the plugin API any more

gerrit $ jar -tf ~/.m2/repository/com/google/gerrit/gerrit-plugin-api/2.15.9/gerrit-plugin-api-2.15.9.jar | grep DefaultMem
com/google/gerrit/server/cache/mem/DefaultMemoryCacheFactory$1.class
com/google/gerrit/server/cache/mem/DefaultMemoryCacheFactory.class
com/google/gerrit/server/cache/mem/DefaultMemoryCacheModule.class

gerrit $ jar -tf ~/.m2/repository/com/google/gerrit/gerrit-plugin-api/2.16.4/gerrit-plugin-api-2.16.4.jar | grep DefaultMem
 

Comment 1 by david.pu...@gmail.com, Jan 25

Status: ChangeUnderReview (was: New)
https://gerrit-review.googlesource.com/c/gerrit/+/211725

Comment 2 by thomasmu...@yahoo.com, Jan 25

Project Member
Status: Submitted (was: ChangeUnderReview)

Comment 3 by david.pu...@gmail.com, Jan 28

Labels: FixedIn-2.16.5

Sign in to add a comment