apache / apache/netbeans

error in indexing - java.util.zip.CRC32C cannot be found

Open
#5,437 4 comments 0 reactions 0 assignees View on GitHub
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 latest daily build

### What happened

Saw this in my logs when doing some work with a Java 9 specific code issue.

Looks to be related to [NETBEANS-577](https://issues.apache.org/jira/browse/NETBEANS-577) ?

```
INFO [org.netbeans.ui.indexing]: Indexing finished, indexing took 78 ms.
Even though the source level of /home/bwalker/src/netbeans/platform/o.n.bootstrap/src:/home/bwalker/src/netbeans/platform/o.n.bootstrap/build/classes-generated is set to: 9, java.util.zip.CRC32C cannot be found on the system module path:
INFO [org.netbeans.ui.indexing]: Indexing started, time from last indexing 1,442 ms.
INFO [org.netbeans.ui.indexing]: Indexing finished, indexing took 115 ms.
Even though the source level of /home/bwalker/src/netbeans/platform/o.n.bootstrap/src:/home/bwalker/src/netbeans/platform/o.n.bootstrap/build/classes-generated is set to: 9, java.util.zip.CRC32C cannot be found on the system module path:
INFO [org.netbeans.ui.indexing]: Indexing started, time from last indexing 5,121 ms.
INFO [org.netbeans.ui.indexing]: Indexing finished, indexing took 71 ms.
Even though the source level of /home/bwalker/src/netbeans/platform/o.n.bootstrap/src:/home/bwalker/src/netbeans/platform/o.n.bootstrap/build/classes-generated is set to: 9, java.util.zip.CRC32C cannot be found on the system module path:
INFO [org.netbeans.ui.indexing]: Indexing started, time from last indexing 1,452 ms.
INFO [org.netbeans.ui.indexing]: Indexing finished, indexing took 751 ms.
Even though the source level of /home/bwalker/src/netbeans/platform/o.n.bootstrap/src:/home/bwalker/src/netbeans/platform/o.n.bootstrap/build/classes-generated is set to: 9, java.util.zip.CRC32C cannot be found on the system module path:

```

### How to reproduce

Index on Java 9 code?

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

No / Don't know

### Operating System

Fedora Linux

### JDK

17

### Apache NetBeans packaging

Own source build

### Anything else

_No response_

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

Yes

### Code of Conduct

Yes

Contributor guide

Open the contributing guide

Research direction

Reproduce indexing of Java 9-specific code on JDK 17 using the own-source NetBeans build, then compare the repeated diagnostic with the related NETBEANS-577 issue. Start with the indexing output for platform/o.n.bootstrap/src and build/classes-generated; done means the incorrect missing java.util.zip.CRC32C warning no longer appears during indexing.

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
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.