Skip to content

Commit 0620690

Browse files
authored
Merge pull request #20 from memory-agape/0.0.2.2
Minimum Update
2 parents 671254a + 8bff70d commit 0620690

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ composer.lock
77
.phpunit.result.cache
88
tests/caches/
99
!tests/caches/.gitkeep
10+
tools

src/Kernel/Mnemonics/_invokestatic.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function execute(): void
2626
krsort($arguments);
2727

2828
if (!class_exists($className)) {
29-
throw new \PHPJava\Imitation\java\lang\ClassNotFoundException($className . ' class does not exist.');
29+
throw new \PHPJava\Imitation\java\lang\ClassNotFoundException(str_replace('\\PHPJava\\Imitation\\', '', $className) . ' class does not exist.');
3030
}
3131

3232
// call Invoker

0 commit comments

Comments
 (0)