Skip to content

Commit 0569bd8

Browse files
committed
Fix
1 parent bf4ebf5 commit 0569bd8

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/Core/JavaClass.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,6 @@ class JavaClass implements JavaClassInterface
8484
private $startTime = 0.0;
8585

8686
/**
87-
* JavaClass constructor.
88-
*
8987
* @param ReaderInterface $reader
9088
* @param array $options
9189
* @throws ValidatorException

src/Kernel/Mnemonics/_getstatic.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function execute(): void
2121
$signature = Formatter::parseSignature($cpInfo[$cpInfo[$cp->getNameAndTypeIndex()]->getDescriptorIndex()]->getString());
2222

2323
if ($cp instanceof _Fieldref) {
24-
foreach ($this->javaClass->getFields() as $field) {
24+
foreach ($this->javaClass->getDefinedFields() as $field) {
2525
if ($cpInfo[$field->getNameIndex()]->getString() === $cpInfo[$cpInfo[$cp->getNameAndTypeIndex()]->getNameIndex()]->getString()) {
2626
// push stack
2727
$fieldName = $cpInfo[$field->getNameIndex()]->getString();

0 commit comments

Comments
 (0)