Changeset 36486 in osm


Ignore:
Timestamp:
2026-02-12T22:20:13+01:00 (5 days ago)
Author:
stoecker
Message:

fix javadoc for JavaFX, increase javafx to 21.0.10 (current java 17 version)

Location:
applications/editors/josm/plugins
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/build-common.xml

    r36483 r36486  
    113113        <!-- to be overridden by plugins that need to perform additional tasks before compiling -->
    114114    </target>
    115     <target name="compile" depends="init, pre-compile, resolve-tools" unless="skip-compile">
     115    <target name="plugin-classpath-actual">
    116116        <condition property="plugin.classpath.actual.defined">
    117117            <isreference refid="plugin.classpath.actual" type="path"/>
     
    120120            <path refid="plugin.classpath"/>
    121121        </path>
     122    </target>
     123    <target name="compile" depends="init, pre-compile, resolve-tools, plugin-classpath-actual" unless="skip-compile">
    122124        <echo message="compiling sources for ${plugin.jar} ..."/>
    123125        <path id="jdk.boot.classpath">
     
    293295        <!-- to be overridden by plugins that need to perform additional tasks before generating javadoc -->
    294296    </target>
    295     <target name="javadoc" depends="pre-javadoc,pre-compile" unless="skip-javadoc">
     297    <target name="javadoc" depends="pre-javadoc,pre-compile,plugin-classpath-actual" unless="skip-javadoc">
    296298        <mkdir dir="${plugin.doc.dir}"/>
    297299        <javadoc destdir="${plugin.doc.dir}"
     
    305307            <classpath refid="plugin.classpath" unless:set="plugin.classpath.dependencies"/>
    306308            <classpath refid="plugin.classpath.dependencies" if:set="plugin.classpath.dependencies"/>
     309            <classpath refid="plugin.classpath.actual"/>
    307310            <sourcepath>
    308311                <pathelement path="${plugin.src.dir}" />
  • applications/editors/josm/plugins/javafx/pom.xml

    r36483 r36486  
    2222        <plugin.stage>5</plugin.stage>
    2323        <plugin.minimum.java.version>17</plugin.minimum.java.version>
    24         <javafx.version>21.0.2</javafx.version>
     24        <javafx.version>21.0.10</javafx.version>
    2525    </properties>
    2626    <!-- These dependencies should be installed on the host machine - our installers bundle them -->
  • applications/editors/josm/plugins/javafx/src/org/openstreetmap/josm/plugins/javafx/gui/JavaFxWrapper.java

    r35805 r36486  
    3030    private static class UncaughtExceptionHandler implements Thread.UncaughtExceptionHandler {
    3131        private final Thread.UncaughtExceptionHandler currentHandler;
    32         public UncaughtExceptionHandler() {
     32        UncaughtExceptionHandler() {
    3333            currentHandler = Thread.currentThread().getUncaughtExceptionHandler();
    3434            Thread.currentThread().setUncaughtExceptionHandler(this);
    3535        }
     36
    3637        @Override
    3738        public void uncaughtException(Thread t, Throwable e) {
Note: See TracChangeset for help on using the changeset viewer.