apache / apache/netbeans

Cannot call clone() method on native arrays during debug

Open
#7,638 5 comments 0 reactions 0 assignees View on GitHub
debugger Java kind:bug
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Apache NetBeans version

Apache NetBeans 22

### What happened

Cannot call clone method on native arrays during debug session (watcher/expression)

### Language / Project Type / NetBeans Component

Java Debugger

### How to reproduce

Starts java program in debug mode and try to call clone on a native array variable.

### Did this work correctly in an earlier version?

No / Don't know

### Operating System

macOS

### JDK

Azul Zulu 21

### Apache NetBeans packaging

Apache NetBeans provided installer

### Anything else

_No response_

### Are you willing to submit a pull request?

No

Contributor guide

Open the contributing guide

Research direction

No source file, test, or entry point is named. First reproduce the issue in the Java Debugger on macOS with Apache NetBeans 22 and Azul Zulu 21 by evaluating clone() on a native array; done when the expression succeeds during a debug session.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.