Skip to content

Dynamic features of Java #189

Description

@algomaster99

. 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

Activity

  1. algomaster99 commented on Mar 19, 2024

    @algomaster99
    MemberAuthor

    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

  2. changed the title [-]Some classes are not seen by the running application[/-] [+]Dynamic features of Java[/+] on Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions