proomt

Search

Search posts, papers, and topics

java

RSS
  1. 1

    JDK 27 has been released

    JDK 27 became GA on 15 Sep 2026 with binaries from Oracle. It ships default G1 GC, post‑quantum TLS key exchange, default compact object headers, and several preview features such as structured concurrency and lazy constants.

    Lobstersopenjdk.org1 minreleaseHN41lobste.rs37
  2. 3

    This Code Is CRAP (2011)

    A user praises Crap4J, an old Java code quality tool, for effectively identifying "dangerous" code without false positives, unlike other coverage tools. They note its age and incompatibility with Java 7, urging for updates.

    Hacker News front pagegoogleblog.com1 minHN7657
  3. 4

    Java 27 Delivers Post-Quantum Cryptography, Future Language Innovation, Helidon 27, JavaFX 27

    Java 27 ships with nine JEPs—G1 as the default GC, post‑quantum TLS 1.3, lazy constants, primitive‑type patterns, structured concurrency, compact object headers, JFR redaction, Vector API incubator, and PEM encoding preview—plus the first Java Verified Portfolio releases (Helidon 27, JavaFX 27, Jipher 20). The release is a security‑focused, non‑LTS update that paves the way for Project Valhalla f…

    InfoQinfoq.com5 min
  4. 5

    We Didn't Want to Build Another Java Server

    Codename One introduced an experimental native Java backend that compiles Java controllers to a tiny native executable via ParparVM. Benchmarks show sub‑millisecond startup, 10‑40 MiB memory, and up to 20 % higher request throughput than a Go fasthttp server.

    CodeName Onecodenameone.com15 min
  5. 6

    Faster Maps: Chasing Swiss Speed

    ParparVM’s HashMap suffered catastrophic miss latency due to linear probing on dense integer keys. By adopting CPython‑style perturbed probing (Swiss‑table style) and extending tagged immediate values to more primitives, miss latency dropped from 32 s to ~45 ms, allocation pressure fell dramatically, and overall performance stayed roughly flat despite a modest hit‑time slowdown.

    CodeName Onecodenameone.com8 min
  6. 7

    ML based ranking using Nrtsearch

    Yelp added an Inference Plugin to Nrtsearch that runs XGBoost and neural‑network models inside the search engine, eliminating a separate scoring service. The plugin extracts features from index documents, loads MLeap bundles from MLflow, and serves predictions on replica nodes with millisecond latency.

    Yelp Engineeringyelp.com7 min
  7. 8

    One Java Model from the App to PostgreSQL

    Codename One introduces a backend runtime allowing a single Java model to define entities and validation rules for both client applications and the server. This approach aims to reduce duplication and ensure consistent data rules from the app to PostgreSQL.

    CodeName Onecodenameone.com7 min
  8. 9

    Javadoc That Feels Like Your Website

    Codename One replaced its Javadoc‑generated site with a Hugo‑based pipeline: a custom doclet emits one Hugo content file per Java type, preserving Markdown comments, generating a lightweight search index, and keeping the traditional offline Javadoc archive. The approach reduces index size (1.9 MB → 341 KB gzipped), retains existing anchors, and can be reused for other Java projects.

    CodeName Onecodenameone.com4 min
  9. 10

    Java News Roundup: JDK 27, Open J Proxy, A2A Jakarta, Azul Payara, BoxLang, Netflix ja

    InfoQ’s Java roundup lists the GA release of JDK 27, early‑access build 16 of JDK 28, BellSoft’s Liberica JDK 27, Jakarta EE 12 updates, Open J Proxy 1.0 (with JDBC cache and HikariCP leak detection), A2A Jakarta 1.0, Azul Payara 7.4.0 (MicroProfile 7.1, OpenTelemetry migration), JHipster 9.4 (Playwright, esbuild), Ktor 3.6 (OIDC auto‑discovery), BoxLang 1.17 (module service, syntax checker) and…

    InfoQinfoq.com5 min
  10. 11

    Faster Starts, Less JavaScript Overhead

    Codename One reduced startup latency and JavaScript overhead by publishing screen state atomically, indexing style lookups, avoiding unnecessary artwork generation, and refining suspension analysis, yielding measurable speedups.

    CodeName Onecodenameone.com7 min
  11. 12

    What Go Taught Us About Java Garbage Collection

    ParparVM’s GC was tuned by lowering the allocation‑trigger floor, adding configurable thresholds, parallel marking, mutator assistance, and proper weak/soft reference handling. These changes cut RSS from 98 MB to 38 MB, reduced worst‑case GC pauses from seconds to sub‑second, and improved cache hit rates with a recency‑based eviction policy.

    CodeName Onecodenameone.com7 min
  12. 13

    Lies, Damn Lies and Benchmarks

    Codename One engineers dissect why benchmark numbers can be misleading, then share concrete work on GC tuning, proper weak/soft references, and a new probing sequence for their open‑addressed HashMap that cuts miss‑probe counts from >16 k to ~1.5 per lookup.

    CodeName Onecodenameone.com20 min
  13. 14

    A Dialog Can Now Be a Native Desktop Window

    Codename One now supports native desktop windows for dialogs, fixing a bug where dialogs appeared on the wrong surface in multi-window applications. This allows dialogs to participate correctly in desktop window ordering and focus, with options for global or per-instance native mode.

    CodeName Onecodenameone.com3 min
  14. 15

    One App, More Than One Native Window

    Codename One now supports true native desktop windows via a new `Window` class that separates per‑surface state (paint queue, input routing, native peers) from the global `Display`. The change adds a `PaintSurface` abstraction, platform‑specific window back‑ends (AWT/Swing, Direct2D, GTK, UIWindowScene), and a migration path for components that assumed a single `Form`. Initial release has some UI…

    CodeName Onecodenameone.com11 min
  15. 16

    Why Codename One Is Moving Beyond Maven Central

    Codename One is moving its Maven artifacts from Sonatype’s Maven Central to a self‑hosted Cloudflare R2 bucket. Phase 1 reduces release payloads (from 229 MB to 77 MB) by dropping fat‑JARs and freezing stable deps, adds dual‑publish, and updates generated POMs to include a custom repository for both dependencies and plugins. After a three‑week observation window (ending Aug 28 2026) new releases…

    CodeName Onecodenameone.com7 min
  16. 17

    Native Drag and Drop Meets Cross-Device Continuity

    Codename One 8.0 adds two user‑experience primitives: **Cross‑Device Continuity** (state checkpointing + Apple Handoff + custom HTTP relay) and **Native Drag‑and‑Drop** (OS‑level drag using the same ClipboardContent model). The post shows the API (StateProvider, Continuity.checkpoint, NativeDragOperation), platform support tables, and practical advice on payload size, security, thread handling, a…

    CodeName Onecodenameone.com7 min
  17. 18

    Build Hints That Fail Before the Build Server

    Codename One moved 87 common build hints into Java annotations, so misspelled keys or wrong value types cause compile‑time errors instead of silent build‑server ignores. The annotations are processed back into the existing string protocol, keeping backward compatibility while improving validation and IDE support.

    CodeName Onecodenameone.com6 min
  18. 19

    App Intents: One Java Declaration for Siri, Spotlight, and Shortcuts

    Codename One adds @AppIntent annotations that let a static Java method be exposed as a Siri, Spotlight, or Android shortcut. The build‑time processor generates native declarations, a reflection‑free dispatch table, and validates the intent metadata. Handlers can be headless, accept typed parameters, return results, and be invoked internally via Intents.invoke(). Entities enable system‑driven disa…

    CodeName Onecodenameone.com5 min
  19. 21

    FileInputStream / FileOutputStream Considered Harmful

    FileInputStream and FileOutputStream implement finalize, which forces objects onto the finalizer queue and can cause long GC pauses in programs that open many files. Switching to Files.newInputStream and Files.newOutputStream (Java 7+) eliminates the finalizer overhead and improves I/O‑heavy workloads.

    Codeshipcloudbees.com2 min
  20. 22

    App Hardening: One Obfuscation Pipeline Across Every Port

    Codename One adds a cloud‑side hardening step that runs on the merged JAR before it is split into Android, iOS, JavaScript, and desktop binaries. It can rename symbols, encrypt string literals, and insert opaque‑predicate control‑flow guards at configurable levels (off → standard → aggressive → paranoid). The transforms are selective per platform to avoid breaking optimizers, and a mapping is kep…

    CodeName Onecodenameone.com6 min
  21. 25

    A Polyline Is Not a Route

    Codename One adds a portable routing API (com.codename1.maps.routing) that separates route discovery from map rendering, offering a simple two‑line `showRoute` helper and a full callback‑based flow for custom UI, multiple alternatives, waypoints, and encoded polylines. The default service uses OSRM (no API key), but the design lets you plug any provider or self‑hosted engine via a `RouteService`…

    CodeName Onecodenameone.com4 min
  22. 26

    AWS Weekly Roundup: AWS Builder Center mobile apps, Amazon Connect Talent GA, Amazon Corretto 27, and more (September 21, 2026)

    AWS’s weekly roundup (Sept 21 2026) bundles a set of product announcements: the Builder Center mobile app (iOS/Android) for browsing courses and workshops; Amazon Connect Talent GA (AI‑driven hiring); Corretto 27 GA (OpenJDK 27 with G1 GC, post‑quantum TLS, compact headers, JFR redaction); Kimi K3 on Bedrock (2.8 T‑param open LLM with vision and 1M‑token context); new T8i burstable EC2 instances…

    AWSamazon.com7 min