apache / apache/netbeans

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

Aperta
#5,437 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Java kind:bug
Lingua principale
Java
Stelle
3.1k
Fork
933
Merge medio
2g 3h
PR unite (30g)
17

Descrizione

### 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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Riproducete l’indicizzazione del codice specifico di Java 9 su JDK 17 utilizzando la build di NetBeans ottenuta dai suoi stessi sorgenti, quindi confrontate la diagnosi ripetuta con l’issue correlata NETBEANS-577. Iniziate dall’output dell’indicizzazione per platform/o.n.bootstrap/src e build/classes-generated; il lavoro è completato quando l’avviso errato relativo all’assenza di java.util.zip.CRC32C non viene più visualizzato durante l’indicizzazione.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
java
Ambito
devtools
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
30/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.