Path: csiph.com!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Andreas Leitgeb Newsgroups: comp.lang.java.programmer Subject: Re: How do I compile my Java 8 SE code with OpenJDK 11? Date: Fri, 2 Aug 2019 07:00:08 -0000 (UTC) Organization: A noiseless patient Spider Lines: 18 Message-ID: References: <19942fd8-6ea3-457f-ac8b-3dab01a5ba37@googlegroups.com> <8985be4f-fd7c-4aa9-ad89-bfeca7410555@googlegroups.com> Reply-To: avl@logic.at Injection-Date: Fri, 2 Aug 2019 07:00:08 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="bdd069effbe79c1de347c71babb60f34"; logging-data="26936"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/MX9n+vp0Yhq4mlWmDu0LI" User-Agent: slrn/1.0.3 (Linux) Cancel-Lock: sha1:zu32Q1YliRVOTPYaY8vyr92QPt0= Xref: csiph.com comp.lang.java.programmer:39061 Eric Douglas wrote: > On Wednesday, July 3, 2019 at 4:50:08 PM UTC-4, Eric Douglas wrote: >> Everything compiles now with all these jar updates, now to clear up a >> few deprecated method references. > Now the only compile issue I have left is with deprecation, how to convert > a class which is using Observer and Observable. So far it is just a deprecation. If your legacy code needs it, then just ignore or silence these deprecation warnings. https://docs.oracle.com/en/java/javase/12/docs/api/java.base/java/util/Observable.html has a paragraph on reasons for deprecation and alternatives. If Observable really and exactly fits your bill in your code, and you want your code to last beyond the eventual removal, then write and use your own.