Developers: breaking changes forthcoming in 1.40.0

Announcements about PS3 Media Server

Developers: breaking changes forthcoming in 1.40.0

Postby Raptor399 » Sun Aug 21, 2011 9:06 am

In the upcoming version 1.40.0 a breaking change has been introduced that plugin developers should be aware of.
r804 changes the class BufferedOutputFile to an interface with BufferedOutputFileImpl as its implementation.

This means that if plugin code currently does something like:

Code: Select all
BufferedOutputFile bo;
bo = new BufferedOutputFile(params);

it should (from 1.40.0 on) be changed to:
Code: Select all
BufferedOutputFile bo;
bo = new BufferedOutputFileImpl(params);

As shown in the example, the type can remain the same, only instantiation needs to be changed. Searching for "BufferedOutputFile(" in your code should quickly reveal all code that needs changing.
Raptor399
Project Member
 
Posts: 1916
Joined: Thu Mar 10, 2011 12:06 am

Return to Announcements

Who is online

Users browsing this forum: No registered users and 12 guests