Open Issues Need Help
View All on GitHubAI Summary: Upgrade the Microsoft Graph Core SDK for Java to use OkHttp 5. This requires updating dependencies, addressing any breaking changes introduced by the OkHttp upgrade, and ensuring proper versioning (including an exclamation mark in the commit message to trigger a major version bump). The upgrade should be thoroughly tested to avoid issues for users of the SDK.
Microsoft Graph SDK for Java - Core Library
AI Summary: The task is to fix a bug in the Microsoft Graph Java SDK's `LargeFileUploadTask` class. The bug causes incomplete file uploads due to an assumption that `InputStream.read(byte[])` always fills the buffer completely. The solution involves modifying the `LargeFileUploadTask` method to use a loop that ensures the entire buffer is read before proceeding, handling cases where fewer bytes than requested are read in a single call.
Microsoft Graph SDK for Java - Core Library