Building libbluray with oracle/sun java 6
Posted: 19 May 2013 18:25
Hi, I didn't know where to report this so thought I'd drop a note here. As from commit a594d770726518f7101acaaea324e9e1e81f4ab6 (Fri, 10 May 2013) [Fixed "java.lang.UnsupportedOperationException: PERPIXEL_TRANSLUCENT translucency is not supported"] Libbluray no longer builds with J2SE java 6. The build errors out with "BUILD FAILED
/root/libbluray-a594d77/src/libbluray/bdj/build.xml:22: Compile failed;". If I then remove the lines in src/libbluray/bdj/java/java/awt/BDGraphicsDevice.java >
+
+ /* J2SE java 7 */
+ boolean isWindowTranslucencySupported(GraphicsDevice.WindowTranslucency translucencyKind) {
+ return true;
+ }
then the build contines and completes successfully. Hope this info helps.
Kind regards.
/root/libbluray-a594d77/src/libbluray/bdj/build.xml:22: Compile failed;". If I then remove the lines in src/libbluray/bdj/java/java/awt/BDGraphicsDevice.java >
+
+ /* J2SE java 7 */
+ boolean isWindowTranslucencySupported(GraphicsDevice.WindowTranslucency translucencyKind) {
+ return true;
+ }
then the build contines and completes successfully. Hope this info helps.
Kind regards.