java

Tag

Cards List
#java

Someone reported java4shell bug in September 2026

Hacker News Top ↗ · 2d ago Cached

Someone reportedly filed a 'java4shell' bug in September 2026 against the OpenJDK project, though the linked content is just the openjdk/jdk repository README with no details on the issue itself.

0 favorites 0 likes
#java

Java4Shell is a reason to use Java

Lobsters Hottest ↗ · 3d ago Cached

作者 Ethan McCue 借 Java4Shell 漏洞(JVM Base64 内在化实现问题)展开讨论,认为 Java 的内存安全、原生代码访问管控和 JIT 性能使其成为应对 AI 驱动漏洞挖掘时代的可靠选择。

0 favorites 0 likes
#java

Java4Shell: Write once, RCE everywhere

Lobsters Hottest ↗ · 4d ago

Java4Shell: a widespread remote code execution vulnerability affecting the Java ecosystem, dubbed "Write once, RCE everywhere," drawing comparisons to Log4Shell.

0 favorites 0 likes
#java

The G1 Garbage Collector

Hacker News Top ↗ · 4d ago Cached

An overview of the G1 garbage collector, covering its history from JDK 6u14 to becoming the default collector across all environments in JDK 27 (JEP 523), its design concepts, heap layout, and collection cycle.

0 favorites 0 likes
#java

I Can't Believe It Can Sort

Hacker News Top ↗ · 2026-11-13 Cached

介绍了一个看似不可能排序但确实能排序的极简低效排序算法,源自 arXiv 论文《Is this the simplest (and most surprising) sorting algorithm ever?》,并附带 Java 实现,时间复杂度为 O(n²)。

0 favorites 0 likes
#java

How hard is it to check for whitespace?

Lobsters Hottest ↗ · 2026-10-30 Cached

A deep-dive blog post exploring why checking for whitespace is surprisingly complex, tracing Guava's implementation to Unicode's 25-character White_Space property and comparing how Java, Python, and JavaScript disagree on which characters count as whitespace.

0 favorites 0 likes
#java

Full Haskell-like Type Class resolution in Java

Lobsters Hottest ↗ · 2026-10-27 Cached

A 79-minute deep-dive blog post demonstrating how to implement full Haskell-like type class resolution in Java, covering type unification, witness resolution, higher-kinded types, and examples like Functor, Applicative, and Monad.

0 favorites 0 likes
#java

Java's new AOT cache feature is in a rough state

Hacker News Top ↗ · 2026-10-26 Cached

XPipe shares hard-won lessons about JDK's new AOT cache feature, which promises free startup/warmup improvements but in practice brings pitfalls, incompatibilities, and potential JVM crashes for real-world distributed applications.

0 favorites 0 likes
#java

A train simulator game for console hackers

Hacker News Top ↗ · 2026-10-19 Cached

LeTrain 是一款开源的程序化火车模拟游戏,2026 年版本在保留经典 ASCII 终端风格的同时加入了基于 LibGDX 的 3D 引擎、录制/撤销编辑功能和场景支持。

0 favorites 0 likes
#java

Java sealed classes and exhaustive pattern matching

Hacker News Top ↗ · 2026-10-18 Cached

A blog post examining Java sealed classes and exhaustive pattern matching, highlighting that adding new subtypes can break consumer code and that stale compilation leads to runtime MatchException instead of compile-time errors. The author concludes sealed types are best used within component internals rather than public APIs.

0 favorites 0 likes
#java

JDK 28

Hacker News Top ↗ · 2026-10-17 Cached

OpenJDK 发布 JDK 28 版本规划页面,目前包含 10 个已确定的 JEP,涵盖值对象预览、结构化并发、AOT 编译、ZGC 性能改进及 JSON API 孵化器等特性。

0 favorites 0 likes
#java

@piotr_minkowski: Claude Code Template v1.0 for Spring Boot is here! What's new? 6 rewritten agents 2 new skills + major improvements to …

X AI KOLs Timeline ↗ · 2026-10-17 Cached

Claude Code Template v1.0 for Spring Boot 发布,包含 6 个重写的专用 agent 和 2 个新 skill,提供生产级 Spring Boot 4.x / Java 21+ 应用开发模板,涵盖 REST API、JPA、安全、测试、云原生部署和 Kubernetes 最佳实践。

0 favorites 0 likes
#java

Lombok Is Still Relevant in the Age of Java Records

Hacker News Top ↗ · 2026-10-15 Cached

作者为 Lombok 辩护,认为在 Java Records 时代它依然不可或缺,因为它在日志注解、构造器注入和 Builder 等方面大幅减少样板代码,而这些 Records 并不能替代。文章以 15 年实际使用经验和项目中 Lombok 注解使用统计为据,反驳了 Lombok 引入奇怪 bug 和"暗黑魔法"的常见批评。

0 favorites 0 likes
#java

Java vllm-like framework claims 90% of perfomance of llama.cpp on local inference on NVIDIA GPUs by compiling Java to CUDA and cuTile

Reddit r/LocalLLaMA ↗ · 2026-10-08

TornadoVM 团队推出 jitLLM——一个 Java 版类 vLLM 推理框架,通过将 Java 编译为 CUDA 和 cuTile,在 NVIDIA GPU 上的本地推理中达到 llama.cpp 约 90% 的性能。

0 favorites 0 likes
#java

Why Continuations are Coming to Java (2019)

Lobsters Hottest ↗ · 2026-10-06 Cached

Ron Pressler of Oracle's Java platform group explains the theoretical motivation for Project Loom, which aims to add continuations and fibers to the JDK to simplify nondeterministic I/O and concurrency in Java.

0 favorites 0 likes
#java

I created a NetBeans IDE plugin that allows AI agents to execute LLM generated java code on the IDE's JVM itself. I said "Make a minecraft in JavaFX" and it generated, loaded and ran the bytecode onto the NetBeans JVM itself

Reddit r/AI_Agents ↗ · 2026-10-03

A developer created a NetBeans IDE plugin that lets AI agents execute LLM-generated Java code directly on the IDE's JVM, demonstrating it by having an agent generate, load, and run a Minecraft clone built with JavaFX. Each agent runs in its own ClassLoader, managing its own bytecode at runtime and communicating with other agents via Java objects.

0 favorites 0 likes
#java

Keep if clauses side-effect free

Lobsters Hottest ↗ · 2026-09-26 Cached

The article advises keeping if clauses side-effect free to improve code readability, using examples to illustrate common pitfalls and clearer alternatives.

0 favorites 0 likes
#java

@JenovaAIAgent: Java Coding Assistant is an AI agent that helps you ship production-grade Spring, Jakarta EE, and JVM code — from green…

X AI KOLs Following ↗ · 2026-09-23 Cached

Java Coding Assistant is an AI agent that helps developers ship production-grade Java code for Spring, Jakarta EE, and JVM systems, supporting Java 8–21 with features like session memory for consistency.

0 favorites 0 likes
#java

Why 0xCAFEBABE?

Lobsters Hottest ↗ · 2026-09-22 Cached

This content explores the origin and reasons behind Java's class file magic number 0xCAFEBABE, based on a 1996 newsgroup discussion.

0 favorites 0 likes
#java

BeanShell3 in Development

Hacker News Top ↗ · 2026-09-18 Cached

BeanShell 3.0 is in development, updating the lightweight scripting tool for Java with new features like Lambda support after a long stale period.

0 favorites 0 likes
Next →
← Back to home

Submit Feedback