Java se development kit 168/8/2023 Developers can use an existing release, such as JDK 11, to test existing code by using -illegal-access=warn to identify internal elements accessed via reflection, using -illegal-access=debug to pinpoint errant code, and testing with -illegal-access=deny. Developers are encouraged to use the jdeps tool to identify code that depends on internal elements of the JDK and switch to standard replacements when available. This proposal does carry a primary risk that existing Java code will fail to run. Goals of this proposal include improving the security and maintainability of the JDK, as part of Project Jigsaw, and encouraging developers to migrate from using internal elements to using standard APIs so that both developers and end users can update easily to future Java releases. Users can choose the relaxed strong encapsulation that has been the default since JDK 9.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |