Skip to content
This repository has been archived by the owner on Jan 2, 2021. It is now read-only.

fix "java.lang.IllegalAccessError" #23

Closed
wants to merge 2 commits into from
Closed

fix "java.lang.IllegalAccessError" #23

wants to merge 2 commits into from

Conversation

liaction
Copy link

@liaction liaction commented Jul 2, 2017

In kotlin, it give me an error :
java.lang.IllegalAccessError: Illegal class access: 'com.ahamed.sample.SampleAdapter' attempting to access 'com.ahamed.multiviewadapter.BaseDataManager'

Just change 'com.ahamed.multiviewadapter.BaseDataManager' to public.

…sample.SampleAdapter' attempting to access 'com.ahamed.multiviewadapter.BaseDataManager'" in kotlin
@codecov-io
Copy link

codecov-io commented Jul 2, 2017

Codecov Report

Merging #23 into master will decrease coverage by 26.66%.
The diff coverage is n/a.

Impacted file tree graph

@@              Coverage Diff              @@
##             master      #23       +/-   ##
=============================================
- Coverage     54.37%   27.71%   -26.67%     
- Complexity        0       88       +88     
=============================================
  Files            17       17               
  Lines           765      765               
  Branches        101      101               
=============================================
- Hits            416      212      -204     
- Misses          310      522      +212     
+ Partials         39       31        -8
Impacted Files Coverage Δ Complexity Δ
...a/com/ahamed/multiviewadapter/BaseDataManager.java 57.57% <ø> (-18.19%) 26 <0> (+26)
...ahamed/multiviewadapter/util/DiffUtilCallback.java 0% <0%> (-90%) 0% <0%> (ø)
...va/com/ahamed/multiviewadapter/BaseViewHolder.java 0% <0%> (-86.67%) 0% <0%> (ø)
...a/com/ahamed/multiviewadapter/DataListManager.java 19.23% <0%> (-80.77%) 3% <0%> (+3%)
...a/com/ahamed/multiviewadapter/DataItemManager.java 20% <0%> (-80%) 1% <0%> (+1%)
...ed/multiviewadapter/util/PositionTypeResolver.java 0% <0%> (-66.67%) 0% <0%> (ø)
...ahamed/multiviewadapter/DataListUpdateManager.java 23.07% <0%> (-59.62%) 6% <0%> (+6%)
.../com/ahamed/multiviewadapter/DataGroupManager.java 25.75% <0%> (-53.04%) 9% <0%> (+9%)
...n/java/com/ahamed/multiviewadapter/ItemBinder.java 5.55% <0%> (-47.23%) 1% <0%> (+1%)
...a/com/ahamed/multiviewadapter/RecyclerAdapter.java 35.29% <0%> (-41.18%) 6% <0%> (+6%)
... and 3 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 28e4618...efdd80a. Read the comment docs.

@DevAhamed
Copy link
Owner

Thanks for your contribution.

But i am skeptical about making the BaseDataManager class as public. But instead i have another work-around to fix the issue. Sorry i have to reject and close this pr.

@DevAhamed DevAhamed closed this Jul 11, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants