Пакет objenesis-3.1-9.el9.noarch
Имя | objenesis |
---|---|
Эпоха | 0 |
Версия | 3.1 |
Релиз | 9.el9 |
Архитектура | noarch |
Сайт | http://objenesis.org/ |
Лицензия | ASL 2.0 |
Время сборки | 2023-04-02 13:25:37 |
Хост сборки | builder-x86-03.inferitos.ru |
Краткое описание | A library for instantiating Java objects |
Репозитории | CRB |
Полное описание | Objenesis is a small Java library that serves one purpose: to instantiate a new object of a particular class. Java supports dynamic instantiation of classes using Class.newInstance(); however, this only works if the class has an appropriate constructor. There are many times when a class cannot be instantiated this way, such as when the class contains constructors that require arguments, that have side effects, and/or that throw exceptions. As a result, it is common to see restrictions in libraries stating that classes must require a default constructor. Objenesis aims to overcome these restrictions by bypassing the constructor on object instantiation. Needing to instantiate an object without calling the constructor is a fairly specialized task, however there are certain cases when this is useful: * Serialization, Remoting and Persistence - Objects need to be instantiated and restored to a specific state, without invoking code. * Proxies, AOP Libraries and Mock Objects - Classes can be sub-classed without needing to worry about the super() constructor. * Container Frameworks - Objects can be dynamically instantiated in non-standard ways. |
Эррата | — |
Размер | 106 КиБ |
Исходный проект | objenesis-3.1-9.el9 |
Контрольная сумма SHA-256 | b1e70c4423bec666cdf52059c19dbd7919090b0010a021c1ed3b8bdd6ead75df |
×
* Wed Mar 15 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 3.1-9 - Rebuilt for MSVSphere 9.1. * Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 3.1-9 - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags Related: rhbz#1991688 * Wed Jun 09 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.1-8 - Rebuild to workaround DistroBaker issue * Tue Jun 08 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.1-7 - Bootstrap Maven for CentOS Stream 9 * Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.1-6 - Bootstrap build - Non-bootstrap build