Community
Chat Logs
Friday, February 20, 2026
- Square2TIL "$" can be part of a java identifier. I thought it had some semantic meaning
- Square2Maybe it was a feature request from Larry Ellison
- jottingerSquare2: If memory serves, it's something since inner classes were a thing.
- Square2dreamreal, Right, i've seen them in that context too. But I thought it had some semanting meaning like Outer$Inner
- Square2But I can do "var foo$bar = 1;" wo complaints.
- nimajewhen I first saw them, I expected them to be allowed on the jvm level for stuff like inner classes, but disallowed to write on the java level, but a quick test revealed that $ is also allowed in identifiers on the java level
- [twisti]the class files will be `Outer$Inner.class` if i recall correctly, i seem to remember finding that out and writing about it in some issue or SO comment for some reason
- [twisti]oh, right, it was some maven configuration thing, maybe for proguard or dependency injection, where you had to specify class names ... yes, now its clicking! it was about excluding generated classes from code coverage tools
- jottingerPhew, my album FINALLY made it to Apple music
- [twisti]found it https://stackoverflow.com/questions/45814477/how-to-ignore-inner-nested-classes-with-jacoco/45818489#45818489
- jottingerNice!
- [twisti]the internet forgets nothing
- jottingerWish it did, but I'm sure it'd forget the wrong things :/
- [twisti]funny SO rendering bug too
- jottingerDo the LLMs echo the information properly? Hold on.
- nimajewell, the internet forgets some stuff, but it seems never to be the stuff you want it to forget
- jottinger~gpt how to ignore inner or nested classes from jacoco
- jottingerI don't know if the GPT thing still works for javabot... and it's not here
- jottingeranyway, chatgpt does seem to retain the right answer, maybe even based on your SO answer, [twisti]
- jottinger[twisti]: ++
- nevet[twisti] now has karma of 1.
- [twisti]cheers
- BombeFixed your “funny SO rendering bug” for you… :D
- jottingerI didn't see the "funny SO rendering bug" so meh, it looked accurate enough to me
- BombeIt was just XML being parsed as PHP, so not actually funny.
- jottingerWhen I interviewed with Baeldung a few years ago, one of the things he was pointing out as issues in the interview process was my lack of concern over specific copy-editing rubrics. He wasn't wrong - I was definitely focused on content, not presentation, because presentation is easy to fix if the content's valuable. (I halted the interview process, probably to his relief.)
- jottinger("This sentence only has ONE space after the period! You were supposed to catch that!" ... "okay, but this is going to be rendered online, where the HTML engine isn't going to notice or care, so I not only did not notice, I don't care EVEN WHEN YOU POINT IT OUT.")
- jottingerI don't think he'd have hired me even if we'd kept going; I think we'd both have benefited, but it would have been a constant conflict, because I'll never be able to really care strongly about stuff like that.
- jottingerhttps://www.reddit.com/r/java/comments/1r9tri2/i_built_a_typesafe_solid_regex_builder/
- [twisti]thanks bombe
- jottingercheeser: more VPS troubles?
- jottinger~gpt how to ignore inner or nested classes from jacoco
- javabotTo ignore inner or nested classes from JaCoCo, you can use the 'excludes' configuration option in the JaCoCo plugin. The 'excludes' option allows you to specify which classes should be excluded from coverage reports. You can specify inner/nested classes by using the pattern 'com/example/MyClass$MyInnerClass'. Here's an example of how to use it: ``` <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.8
- javabot<excludes> <exclude>com/example/MyClass$MyInnerClass</exclude> </excludes> </configuration> </plugin> ``` Replace 'com/example/MyClass$MyInnerClass' with the actual package and class names.
- jottingerooo it does still work
- cheeserdreamreal: yeah. filed a support ticket this morning.
- jottingercheeser: which VPS is it?
- cheeserssdnodes
- jottingerooo good luck
- cheeserand I fixed the autorestart cron job for the bot. :)
- jottingerssdnodes servers are apparently famously overloaded, my sites were routinely breaking in a bad way, and they were just wordpress
- jottingerand nevet ran on that server... but took 37 seconds to compile locally, and 9 minutes on ssdnodes
- jottingerI had to go to a MUCH higher memory profile just to get *mysql* to not blow up
- jottingerssdnodes is amazingly inexpensive... for reasons
- cheeseryeah. they've been good for me for years now, though.
- jottinger*nod*
- dreamrealokay, nevet testing stopped for a while, don't want to trip the connection bot :D
- kcomhnallspeaking of testing - just refactored my project from structure-by-layer to structure-by-feature
- kcomhnallsometimes... I can't think in layers
- jbosmanskudos, structure by feature is the way to go
- NeXeNit's better by feature because if you have controllers views etc, or whether it be html/css/js and everything crammed in there named by feature, it's cumbersome. but when you organize by feature, yes you have all these redundant directories, but they cost only once to create, and easier to navigate to the controller for this feature, or the view for this feature, etc
- kcomhnallNeXeN: yeah, it was originally going to be a .NET project but I advocated for Java so...yeah
- NeXeNahh the winner's column, great place to be
- DoofusCanadensissomebody will do a .NET project and the universe will be in balance