You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/12/20 17:50:12 UTC
[GitHub] [netbeans] mbien commented on pull request #5122: JDK 20 preperations
mbien commented on PR #5122:
URL: https://github.com/apache/netbeans/pull/5122#issuecomment-1359902237
to make sure that PRs like this here don't cause unexpected issues of compiling on the wrong bytecode level I run this script:
```bash
#!/bin/bash
set -e
max=8
for c in `find . -name "*.class" -type f`; do
info=$(file "$c")
version=$(echo $info | cut -d " " -f 7)
if [[ "$version" == "" ]]; then
echo $info
continue
fi
major=$(echo $version | cut -d "." -f 1)
minor=$(echo $version | cut -d "." -f 2)
if (( $major > 44+$max )); then
echo $info
continue
fi
if (( $minor != 0 )); then
echo $info
fi
done
```
sort the output and diff before/after PR. It had no changes here.
--
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: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists