errael opened a new issue, #6071:
URL: https://github.com/apache/netbeans/issues/6071
### Apache NetBeans version
Apache NetBeans 18
### What happened
Each message is over 4K characters.
The problem is not the message per se, but it gets repeated over and over
and ...
```
$ for i in *; do echo $i: $(grep -i 'even though the source.*19.*record' $i
|wc);done
LOG: 2420 50820 10397450
LOG.~1~: 0 0 0
LOG.~2~: 0 0 0
LOG.~3~: 0 0 0
LOG.~4~: 204 4284 876384
LOG.~5~: 927 19467 3982599
LOG.~6~: 124 2604 532704
LOG.~7~: 13 273 55848
$ dc
3982599 927 / p
4296
10397450 2420 / p
4296
$ ls -ltr
total 24M
-rw-rw-r-- 1 err err 41438 Jun 2 11:24 LOG.~1~
-rw-rw-r-- 1 err err 108309 Jun 2 11:49 LOG.~2~
-rw-rw-r-- 1 err err 148079 Jun 8 14:34 LOG.~3~
-rw-rw-r-- 1 err err 1383572 Jun 8 15:36 LOG.~4~
-rw-rw-r-- 1 err err 5456930 Jun 8 23:55 LOG.~5~
-rw-rw-r-- 1 err err 845911 Jun 9 08:02 LOG.~6~
-rw-rw-r-- 1 err err 143152 Jun 9 08:03 LOG.~7~
-rw-rw-r-- 1 err err 16278178 Jun 9 21:15 LOG
```
PS. Independent of NetBeans' rotating log stuff, I keep full log (one per
session) and remove every once in a while.
### How to reproduce
Using frgaal source 19 targeting jdk-11using gradle, use a record in a
project.
My example
```
record DumpCounts(int walker, int statement){};
```
and use it like
```
DumpCount f() {return new DumpCount(val1, val2);}
DumpCount counts = f();
```
### Did this work correctly in an earlier version?
No / Don't know
### Operating System
Linux harmony 6.0.6-76060006-generic #202210290932~1667401208~22.04~d2df702
SMP PREEMPT_DYNAMIC Wed N x86_64 x86_64 x86_64 GNU/Linux
### JDK
java version "17.0.6" 2023-01-17 LTS Java(TM) SE Runtime Environment (build
17.0.6+9-LTS-190) Java HotSpot(TM) 64-Bit Server VM (build 17.0.6+9-LTS-190,
mixed mode, sharing)
### Apache NetBeans packaging
Apache NetBeans binary zip
### Anything else
Seems to be coming from
```
./java.source.base/src/org/netbeans/modules/java/source/parsing/JavacParser.java:
"Even though the source level of {0} is set to: {1}, java.lang.Record cannot
be found on the system module path: {2}\n", //NOI18N
```
### Are you willing to submit a pull request?
No
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists