gpt4 book ai didi

java - 为什么 ReflectionFactor.newConstructorForSerialization() 返回的构造函数称为 "munged"?

转载 作者:行者123 更新时间:2023-11-30 09:57:51 38 4
gpt4 key购买 nike

在 Java 中,可以通过 sun.reflect.ReflectionFactor.newConstructorForSerialization() 检索类来创建类的实例,而无需实际调用已声明的构造函数。

据我所知,这个特殊的构造函数叫做“munged”。这个词从何而来?我在任何字典中都找不到它。

最佳答案

我相信它在以下意义上被使用,因为您通过跳过构造函数以某种方式绕过/伪造了正常的对象创建周期:

(computing) modify or fake an email (or other internet) address so it cannot be automatically harvested, esp. to avoid spam bots

(computing) change a file; make irrevocable changes, destroy, obfuscate

这两个定义均来自普林斯顿的 WordNet。

关于java - 为什么 ReflectionFactor.newConstructorForSerialization() 返回的构造函数称为 "munged"?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1426106/

38 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com