Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic features of Java #189

Open
algomaster99 opened this issue Mar 19, 2024 · 1 comment
Open

Dynamic features of Java #189

algomaster99 opened this issue Mar 19, 2024 · 1 comment

Comments

@algomaster99
Copy link
Member

. In particular, a class loader may cache binary representations of classes and interfaces, prefetch them based on expected usage, or load a group of related classes together. These activities may not be completely transparent to a running application if, for example, a newly compiled version of a class is not found because an older version is cached by a class loader.

Reference: https://docs.oracle.com/javase/specs/jls/se21/html/jls-12.html#jls-12.2.1

@algomaster99
Copy link
Member Author

algomaster99 commented Mar 19, 2024

For example, a class could be downloaded across a network, generated on the fly, or extracted from an encrypted file.

Dynamic classloading in Java: https://docs.oracle.com/javase/specs/jvms/se21/html/jvms-5.html#jvms-5.3

EDIT: Cited

@algomaster99 algomaster99 changed the title Some classes are not seen by the running application Dynamic features of Java Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant