Easy way to backport Java 6 code to Java 5?

前端 未结 7 2168
猫巷女王i
猫巷女王i 2021-02-15 18:23

We\'ve been developing a windows based application using Java for a while now, but NOW we want to make a mac port and have to reverse of code from Java 6 and Java 5. Is there a

7条回答
  •  梦如初夏
    2021-02-15 18:50

    In my experience this is so easy that the whining takes more time than the doing. There are very few things in 1.6 that can't be backported with a minute or so (literally) worth of work. How many compile errors are you seeing when you try it with 1.5, and what for?

    Keep in mind that there are readily available, API compatible, low-footprint backports for the few things that are useful in 1.6 (SwingWorker).

提交回复
热议问题