Giter Site home page Giter Site logo

Comments (4)

frankiesardo avatar frankiesardo commented on July 23, 2024

That's a very good point. I see what you mean. But I'm not sure that this could trigger a BadParcelableException. I assumed that the class loader is set into the bundle when you have to pass data across boundaries (e.g. AccountManager). If the bundle is just used within the same application to save and restore state it shouldn't cause any problem.

Does anybody have more details on this?

from icepick.

fluxtah avatar fluxtah commented on July 23, 2024

@frankiesardo I looked into this more and I am unable to reproduce, sorry for the false alarm, I think this can be closed until some real evidence comes up that it does happen, I have only seen it in crash reports. In our codebase we set the classloader before unparceling but this might only happen on some devices or some circumstances I cannot reproduce.

from icepick.

frankiesardo avatar frankiesardo commented on July 23, 2024

Thanks for double checking. I'll leave this issue open for now, in case somebody has more info to share about it.

from icepick.

yaming116 avatar yaming116 commented on July 23, 2024

i think this problem happened in your Parcelable Object. i read the developer document about Parcel and search this exception it happened when Parcel read method was call, like this
hope help you.

from icepick.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.