Skip to content

InteractionDialog: host on the right form + don't lose queued sibling dialogs (#5193) #485

InteractionDialog: host on the right form + don't lose queued sibling dialogs (#5193)

InteractionDialog: host on the right form + don't lose queued sibling dialogs (#5193) #485

Workflow file for this run

name: Error Prone checks
# Runs the framework's custom Error Prone BugCheckers (currently just
# BanClassForName) over CodenameOne/src. The check fails the build when
# someone adds a Class.forName(...) call, which silently breaks on
# ParparVM (iOS) because the iOS port cannot resolve classes by string
# name at runtime.
permissions:
contents: read
on:
workflow_dispatch:
pull_request:
branches:
- master
paths:
- 'CodenameOne/src/**/*.java'
- 'maven/errorprone-checks/**'
- 'maven/core/pom.xml'
- 'maven/pom.xml'
- '.github/workflows/errorprone.yml'
push:
branches:
- master
paths:
- 'CodenameOne/src/**/*.java'
- 'maven/errorprone-checks/**'
- 'maven/core/pom.xml'
- 'maven/pom.xml'
- '.github/workflows/errorprone.yml'
jobs:
errorprone:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up JDK 17
uses: actions/setup-java@v5
with:
# Error Prone requires JDK 11+; we pick 17 to match the
# framework's Android-port JAVA17_HOME requirement.
distribution: temurin
java-version: 17
cache: maven
- name: Install errorprone-checks
working-directory: maven
# The checker module must be installed to the local repo BEFORE
# core compiles. We can't rely on the reactor ordering: core
# references errorprone-checks only via annotationProcessorPaths,
# which Maven does not treat as a build-time dependency, so the
# reactor would otherwise schedule core first and fail to resolve
# com.codenameone:errorprone-checks:8.0-SNAPSHOT.
run: mvn -B -Perrorprone -pl errorprone-checks -am install -DskipTests
- name: Run Error Prone over the core module
working-directory: maven
run: mvn -B -Perrorprone -pl core -am install -DskipTests