Petri Hintukainen pushed to branch master at VideoLAN / libbluray


Commits:
2041039a by Petri Hintukainen at 2026-01-30T18:50:40+02:00
Remove unused BDLightweightComponentPeer.java

- - - - -
120f39c1 by Petri Hintukainen at 2026-01-30T18:50:40+02:00
meson: drop java9 option

- - - - -


3 changed files:

- meson_options.txt
- − src/libbluray/bdj/java-j2se/java/awt/peer/BDLightweightComponentPeer.java
- src/libbluray/bdj/meson.build


Changes:

=====================================
meson_options.txt
=====================================
@@ -30,11 +30,6 @@ option('bdj_jar',
     value: 'auto',
     description: 'Build the BD-J JAR file (requires Java)')
 
-option('java9',
-    type: 'boolean',
-    value: true,
-    description: 'Build with Java 9+ (drop support for Java >= 1.7.0)')
-
 option('jdk_home',
     type: 'string',
     value: '',


=====================================
src/libbluray/bdj/java-j2se/java/awt/peer/BDLightweightComponentPeer.java 
deleted
=====================================
@@ -1,30 +0,0 @@
-/*
- * This file is part of libbluray
- * Copyright (C) 2012  libbluray
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library. If not, see
- * <http://www.gnu.org/licenses/>.
- */
-
-package java.awt.peer;
-
-import java.awt.Toolkit;
-import java.awt.Component;
-
-public abstract class BDLightweightComponentPeer extends BDComponentPeer 
implements LightweightPeer
-{
-    public BDLightweightComponentPeer(Toolkit toolkit, Component component) {
-        super(toolkit, component);
-    }
-}
\ No newline at end of file


=====================================
src/libbluray/bdj/meson.build
=====================================
@@ -9,7 +9,7 @@ if ant.found() and add_languages('java', native: false, 
required: get_option('bd
     javac_version = meson.get_compiler('java').version()
     javac_path    = find_program('javac').full_path()
     javac_arg     = '-Xlint:-deprecation'
-    if get_option('java9') and bdj_type == 'j2se'
+    if bdj_type == 'j2se'
         if javac_version.version_compare('>= 18.0')
             java_src_version = '1.8'
             java_src_version_asm = '1.8'



View it on GitLab: 
https://code.videolan.org/videolan/libbluray/-/compare/afda50959e81cd331d7d5a8ac68da9b358130325...120f39c1c0116c893886e342be722d575f7cdd20

-- 
View it on GitLab: 
https://code.videolan.org/videolan/libbluray/-/compare/afda50959e81cd331d7d5a8ac68da9b358130325...120f39c1c0116c893886e342be722d575f7cdd20
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance
_______________________________________________
libbluray-devel mailing list
[email protected]
https://mailman.videolan.org/listinfo/libbluray-devel

Reply via email to